I'm just going to reply to this because of how strongly this speaks out to me- especially as someone who has had bad anxiety problems for the majority of my adolescence... and it's the worst feeling. There's muscle tension, chest pains, your mind refusing to be reasonable and the worst thing is the rising heart rate and it gets to the point where you cant hear anything above the sound of your pulse. You aren't alone and I completely understand how you feel. I went to see a therapist to help with my anxiety for about a year but in all honesty, nothing really changed for me. I've got it under control for the most part but every now and then it just washes over me it's the worst.
Whenever I get panic attacks, there's things i like to do. I look around and I find 5 things I can see, 4 things i can hear, 3 things i can feel, 2 things I can smell and 1 thing i can taste. It really helps me to feel like I'm back in control of my surroundings. I think of 3 things I'm grateful for, I chew gum because it distracts me (weird i know right?) I cling onto my friends because having that physical reassurance that they're there really relaxes me, I drink tea, I picked up taekwondo again, I work out and... I also sleep
Remember that your feelings are valid and you don't have to apologise for feeling like this. You deserve to be ok and remember prioritise yourself- dont sacrifice your mental health for the sake of perfect grades. I know you'll make it through.
I wish you all the best <3