Article in the Guardian about this.
You mentally undress your friends, Tony Blair, the lollipop lady. Your thoughts are X-rated. You wonder if you’re a paedophile – or just losing your mind. A sufferer describes the nightmare – and dark comedy – of living with pure OCD
https://www.theguardian.com/society/2013/aug/31/pure-ocd-the-naked-truth
Living with Pedophilia OCD https://www.madeofmillions.com/ocd/pedophilia-ocd
Fear of being a Paedophile
https://www.counselling-directory.org.uk/memberarticles/pocd-fear-of-being-a-paedophile