I am going through the same exact thing! It all started when I had an unsettling thought about being with a girl and honestly I almost through up. But then the doubt started and I suddenly started asking myself questions like "Do I want to be w/ a girl? What if I only like boys because that is what society wants me to think? I have had hocd for over a year now and in the beginning stages I was having doubts but I knew in my heart that I wanted to end up with a man. Now that I have thoughts about becoming gay SO much, I worry that I have subconsciously accepted it. Every time I look at any girl, I get this weird feeling and I have no idea if it is attraction or anxiety. I don't want to look at girls in that way and I have no idea if this is my hocd or its actually attraction. I have read countless articles on hocd and the symptoms align with what I am going through but I still have that nagging doubt that my sexuality has changed. Please help if you have any advice.
Okay. So, OCD does have the hallmark sign of obsessive thought. You don't sound to have compulsions but this thought that you can't get to go away and it is stressing you out. OCD falls under the Anxiety disorder umbrella. It's a mental health disorder. It requires professional evaluation to be diagnosed with it and treatment is helpful in controlling it so it doesn't interfere with your life. This is your next step. I assume you are self diagnosing but this doesn't suffice for true medical evaluation. You'll have to see a doctor or psychologist. That is thoughts of being homosexual has nothing to do with treating it like OCD in general. If you were having thoughts of germs, fear of throwing things away and hoarding, had to count to 3 7 times before you could leave your bedroom . . . it's all ocd and all is treated. You can tell your parents you have anxiety. And you would like to speak to someone about it. OR tell your doctor at your next annual physical if your parents won't get you set up before then. Just say anxiety and obsessive thoughts. Then when you are seeing the professional that diagnoses you, you can express it ALL. Until then, you are in a cycle that no one here can help you with.
You should work on lifestyle things that help though, regular exercise (daily), sleep, eating right. Learn to do breathing exercises, meditate. Learn to visualize and try thought switching. (when something like your intrusive thoughts pop in your head, snap a band on your wrist and go to 'safe' thoughts of whatever gives you joy like the beach, horseback riding, puppies, etc. Whatever that may be.
good luck
Why is it HOCD to wonder if you are gay? Are you attracted to women? OCD does actually have treatment associated with it that works really well. A psychiatrist prescribes medication and a psychologist does therapy. But it won't make you stop wondering if you are gay if you think you might be. good luck