If you start to feel like harming or hurting yourself , or anyone else, you need to tell someone. Make your voice heard that you are hurting. You do not need to come out, but it is not good that those people are doing what they are doing. PaulMichael, my solution, though maybe not the best one, was to cut loose from the crowd and become a loner. Maybe that crowd is not for you, but try to find someone with whom you can feel comfortable.
Isolation is more of a problem than a solution.
But there are other things. Like in the change room at school, I always change in the corner, facing the wall. In gym class, itself, I can't look at any girls. I can't look them in the eyes. I can't look at my religion teacher in the eye.