I actually went through the same thing and had to stop checking people out because my mind would tell me what if that guy isn’t 18 and you’re a pedo for even looking, it got so bad it even started getting to me in my dreams where I would ask everyone around me if they were of age and 18 or older. The good thing is your conscious knows you have no desire to look and seek and do what your thoughts are telling you to do or like. You’re not playing tricks in yourself your mind likes to pick at what you feel is wrong and stuff you’re afraid of. The more you feed into the thoughts the worse they’ll get.
Yeah it's been a back and forth the last few days. I play into it and it takes me into a deep pit of depression then I start to get out of it by reasoning and rationalizing it, then I feel better, then my mind finds a reason to fear over again then finally I stop caring I get better then I go a few months without caring then suddenly my mind goes "Hey, here's a reason why you're wrong and you should care." Back to step one I go. Haha.
I understand how you feel. Some days are better than others. For a little while I thought it had disappeared completely. But something reminded me of it and I've been having bad thoughts again. I hope you're okay and things get better again soon.