Many young men go through a bout of this. Recognizing that a guy is attractive to women doesn't mean he's attractive to you. If you were gay, that would also be no big deal. But you don't sound like you are in any way, so you've just had some insecurity aroused. As you get older that kind of insecurity will go away -- although other insecurities will arise. It's okay to think about things, but not be to obsessed by them. If you can't find a professional to talk to, I can tell you as an old guy that I went through this when I suffered my first bad break-up, but it was just insecurity. We are who we are. You're fine. This is normal. Peace.
Is there a counselor in your school where you can have a one on one conversation?