I've been through the exact same stuff, except not at school. I have these problems in the middle of my hockey games!!! Something that really helps me is breathing in for eight seconds, holding it for five, and exhaling for eight. It's a natural way to calm your body. My sister taught me it, and it really helps.