Terrible pedophiliac thoughts and simple curiosity.
I know this isn't the answer of my problem, but the question popped up in my mind
Unfortunately, I can't help because I don't know anything about it.
I don't even know what the situation is like in my country on this topic.
I have never been interested in chemical castration.
I only know that it reduces sexual drive.
However, as you write, I don't think this is the answer to your problem.
If you are aware of your pedophilic tendencies, first go to a specialist.
This is the only advice I can give, because I have no substantive knowledge on this topic.
Pedophilia is a delicate topic and lack of competence is not recommended here.
I just hope you didn't hurt any children.
If you did something like this, you wouldn't like my solutions to this problem.
But this is just my unnecessary off topic.
I'm glad you're aware of your problem.
It's a good sign.