Panic attacks are caused by a rush of adrenelin at an inappropriate time. Your body just releases adrenelin for no good reason and then you have the "fight or flight" feeling ie; a panic attack.
One of the first things you need to learn is "belly breathing" so that you dont make it worse. Hold your hand on your tummy when you breath and when you breath watch your hand on your belly move in and out. If you breath high in your lungs, your diaphram will lift and put pressure on your lungs making it feel like you can't breath, making it worse.
Panic disorder runs in families and can be dibilitating. It won't go away, you need to learn how to control them so that they don't control you.
Also try "ones" bgreathin and say out loud "one" breath out slowly. Inhale and say out loud "one" do this ovr and over and you will find yourself relaing and the panic should subside.
I take zoloft and valium. I don't like the meds for various reasons but I cannot help thati have this disorder and I try everything I can to keep the meds intake to a minimum and try to control panic attacks with relaxation techniques.
Good luck. I know how miserable these panic attacks can be. Many times I thought I was gong to die or I had suicidal ideation. Fact is I don't want to die, but when that adrenelin releases into your body, you have to know what to do to control it to some extent. It can cause other problems such as phobias, etc, like not wanting to leave the house, stop driving, etc. It can cause you to become very mentally ill. Please learn how to control it so itdoesnt control you.