Eliana Dockterman wrote a cover story about sex offender treatment (or therapy). It is well worth the read, as it covers a lot of ground that is important in understanding this very complex crime, as well as the judicial and social biases against those who commit sex crimes. Below are a couple of quotes from the article. Here's the link to the whole story.
There isn’t one standard method for treating sex offenders. But many experts have come to agree that identifying motivations and thought patterns is essential.
Recent research published by the American Public Health Association suggests that focusing on punishments rather than positive goals can actually increase the chance of recidivism. In 2006, the Department of Justice endorsed more progressive methods such as the Good Lives Model, which aims to teach people how to fulfill their emotional and physical needs without hurting others. That includes challenging sexist behaviors and skewed social views that lead them to hurt other people.