When panic attacks I'll try to calm myself by drinking water and inhale,exhale then try not to think too much ot listen to the music.
If panic attack happens it is very important for us to change our focus, as for how can be done by using the moment, this moment I call it "cool mind".
to master this attitude we just do 2 simple steps "Ignore feeling and manage Mindset"