I dropped out, at age 15.
I had panic attacks, especially during lunch. Couldn't take the heat.
But, in retrospect, I did indeed have opportunities to make friends and to seek help.
My failure in seeking help was my biggest mistake because there WERE people who were ready to help. Almost every school has a certain program to help out those with personal problems, everything from a bad home to anxiety.
But I was too nervous even to seek help. It's one of my regrets. I also had chances to make friends, but at the time I unknowingly pushed them away from me, which is really weird now that I think of it.
Bottom line, there is help out there, just go to your counselor or talk to any trusted teacher, etc at your school.
And for a bit of good news for all who did drop out, you can still go to school and get your GED, and afterward go to community college which in turn can get you in most universities. No need to feel like a loser, just SEEK and you will likely find what you need.