Hey, your problems in high school sound like my problems in high school!! (We're talking about high school, right? Let me know if not!) I have a panic disorder too. It's a huge fuckin pain right??
Here's the good news: You're almost out. All of those people sound like garbage and you never have to see those fuckers again. School can feel like the world when you're concerned about grades and performance -- it's not, you know it's not in the logical part of your brain, and it'll explode into better things once it's over in a few short months. Better yet, regardless of what your teachers might say to motivate you, your success in school does not determine your success in life. Even if you want to continue with school, it's possible to recover from your failures: I dropped out of high school due to mental illness and took my damn time with my undergraduate degree. Now I'm in grad school! Sure fooled them.
What ended up really really helping me, and I wish I'd known this sooner, was a very easy drug prescription. Not saying it works for everyone, but for me it definitely took the edge off of all the bad habits I formed after years of verbal abuse by my family and schoolmates and I could form newer/better habits. I'm 25 now and it still takes a lot of work not to assume the worst of people when they invite me out or compliment me. And if your school offers some kind of counseling/therapy, take them up on it! They're paid to make you feel safe.
The future is bright. Feel free to talk to me any time!