Treatment for pedophiles; prison for offenders
This is exactly why we need a much more proactive system of self-identification without stigma, so pedophiles can report themselves early to psychiatrists and get intervention, medication, therapy, supervision, and support.
If a pedophile in treatment then offends, s/he should be put in prison for life; no parole, no second chances.
Also, offenders in prison need to be made available for neurophysiological studies, to find out what is going on in their brains to screw them up so badly, and after their deaths, their brains need to be sliced up and studied.
It is ridiculous that we know this illness exists and ruins so many lives, but we treat it like a choice that these people have made and give them no opportunities to seek whatever treatments we might find and support to fight their proclivities.
Until we decriminalize the sickness so the ill can get treatment, or at least be monitored, children will continue to be at risk. We need to treat the cause, not just the symptoms.