Is that something done in the US? I was always under the impression that it's just prison. You can't even talk to a therapist about it because they have a duty to report you so again, prison.
But I can't exactly claim to be an expert, it's just what I've gathered from these conversations as they pop up over the years on reddit or whatever.