Understanding anxiety is the first step to cure it. It can be cured by none other than the self. Medications and counseling help only to a certain degree but it still does not address the root cause of the anxiety. That is why relaxation helps a great deal because during relaxation the thoughts causing anxiety are not active. That is why you never get anxiety when you are asleep because the mind is in deep relaxation mode. This relaxation can be consciously obtained by many methods such as meditation, positive contemplation, and prayer, being in nature like walking on a beach, splashing the water, walking on grass or simply gazing at the beauty of nature. All these connect you with something calm and soothing and fix you into the relaxation mode.
It should be known that when you notice the first symptom of anxiety, which is usually a confusion of the mind, irritation, sweating, racing heart beat, confused behavior, etc, the first thing to be aware of is that you have triggered something that lies within you in the form of fear. The moment this gets triggered the body reacts to the situation (even if it is safe) as a threat and then begins anxiety and the anxious thoughts. With awareness that you have triggered an underlying fear in some way, the first thing to do should be to relax. You will be able to relax only if you understand that there is nothing actually threatening but it is an unresolved thing that you have somehow triggered. So, when you relax with this great understanding you will notice your anxiety starting to subside. Remind yourself constantly there is nothing to be worried about and get into relaxation mode. When the mind starts relaxing to a trigger of anxiety, the mind starts retraining this pattern and slowly just as a thought created the anxiety, the anxiety will create a relaxing mind. All this would depend on how strongly you train your mind repeatedly to do this. Eventually, if you are strong willed to reprogram your mind with relaxation, you notice that you would be slowly able to conquer anxiety