As bad as panic attacks are, they are still born in the mind When you strengthen your mind and learn to control your thoughts and impulses, you will no longer be plagued by these attacks. Meditation is one of the best ways to do this.
Many forms of meditation exist but the primary difference between them is what you focus on. All it is, truly, is a concentration of thought or will. Practicing meditation regularly helps you to keep a level head in your day to day affairs. Your worries and fears will no longer direct you, instead you'll be able to stop thinking so emotionally, see them for what they are, and utilize them.
Ironically, mediation is a discipline building exercise, but most are not disciplined enough to practice it regularly. Those who are new to meditation may find it difficult to control their thoughts, but this means that there is a greater need for them to do so. The difficulty level is based on how often you practice impulse control. Regardless of how it may feel, take solace in knowing that with every attempt you are becoming a stronger, more focused person, and one that no longer needs to be ruled by panic attacks.
Three types of mediation are specifically recommended for anxiety sufferers. Two are very similar and can be done with an additional variation as you progress to further strengthen your mind.
The first is a visualization exercise. These are designed to guide the subconscious. The benefits are extreme over time, but you may not notice them as the changes occur subtly. During this meditation, you will visualize yourself calmly and decisively handling what you feel to be a very stressful situation that would almost certainly have lead to an anxiety attack in the past. This scenario represents your life devoid of anxiety attacks. It assists you to believe that you can get over them and directs your subconscious to do just that. Ideally, you should do this meditation first thing when you wake up and the last thing before you go to sleep.
The last two meditations are grouped by purpose instead of by form. They're made to calm the mind. The first of this group is what I call a "still" or "empty" meditation. This is where your focus is on nothing. I don't mean nothing as you can think about anything, I mean nothing as in there should be no conscious thoughts floating around your head. You probably won't be able to start out like this, but your thoughts will slow as you calm down. Thoughts will pop up, but don't engage them as that will lead to more. Just sort of watch them as they happen as if they don't even involve you. Sometimes you will have trouble letting go of something particular. If this happens, just tell yourself that you don't need to think of it right now and that you are free to worry about it later, should you choose.
In the last meditation, you will focus on a calming image or scenario. Both this and the second meditation are useful during the day to calm down or let things go. They can also be used before or during a panic attack, as it is building being a better time as it is easier. The variation on these meditations mentioned earlier includes purposefully stressing yourself out before you do them. This gets you used to using them under pressure. Start off easy and build up when you feel you are ready. Given enough time, you can stop any panic attack in its tracks, but more powerfully, you will reach a point where they won't build at all.