Panic attack

How do you help calm down a feeling that you're about to have a panic / anxiety attack? I'm struggling right now and I'm in the middle of class ( we're not doing anything though )