Don’t panic. You are not the only one who has had those kinds of thoughts. I’ve had some weird kinks/attractions toward people of the wrong ages, related to my homosexuality. I imagine its common. If I changed my mind, and decided to act on all of my sexual interests, that would be BAD. I don’t even want to think about it. just saying, We are all human, we are affected by original sin, we all have horrible things we might feel a pull too. Particularily I had this infantilism/man-boy incest thing going on. It’s not really a problem anymore, at least that particular one, but it was there. You might benefit from examining your chilhood for traumatic memories(traumatic for a child). That’s what I did. I realized that there were some points as a toddler that marked a traumatic end of an intimate relationship with my father. That’s why I couldn’t keep my mind off the days before that, because when I was younger I got more attention, before I lost most of it. Since it was such an obsessive memory its something that was tempting to sexualize out of fear, or make an escapist fantasy(which could be sexuallized). When you can look back and feel the pain, instead of the shame, it can heal. When I was able to identify specific memories that were the focus of an obsession, and revisit them from a self compassionate perspective, the feelings lost their obsessive power.