[ Lesbian, Gay, Bisexual, and Transgendered ] Open Question : Gay Repetitive Thoughts- FOR YEARS!?

Hey everyone, Here's my problem: I'm an average guy, I treat every woman with respect and kindness. I love women, I get turned on by women, not guys. However, I have OCD that ranges from mild to EXTREME at times and it's not even an attraction towards males, it's just the repetitive thoughts just asking me, "what if I'm gay?" over and over. I know for a fact I am not. I have watched pornography and found myself only getting turned on my females, but these thoughts still find their way into my head. It's so annoying, I don't know what to do. Is it the OCD? Please help.