Ludovico's Technique is a scientific method for taking moral choice away from troublesome criminals: After being conditioned, the person subjected to this treatment feels intense pain and nausea whenever he has a violent thought. The criminal is forced to be good. In A Clockwork Orange, Alex undergoes the Ludovico's Technique. It cures him of his violent ways; by forcing him to do well out of fear that he will become sick. At one point in the book, Alex can only choose evil, then is supposedly cured where he becomes a machine that is forced to choose good, and finally is cured and establishes free will.
At the beginning of the novel, Alex is a violent natured, teenaged hooligan. He enjoys a life of crime. He leads a gang of other teenage hooligans that find pleasure in rape and killing. Alex and his followers beat up a helpless old man that they meet coming home from the public library. Alex also bullies Dim and injures Billyboy, his two best friends. Dim and Billyboy seize this as an opportunity to overthrow Alex and his autocratic ways. After raping a girl one night, while trying to flee the house, Dim hits him across the eyes with a chain, leaving Alex helpless and at the mercy of the cops. Alex is arrested and punished severely. He undergoes the Ludovico's Technique which scientist feel has temporarily cured him. However, this technique does not make anything in the least bit better.
Alex has receives the Ludovico's treatment and becomes a machine that only knows well. Events in this part of the novel are mirror images of the beginning of the novel. Alex runs into the same old man that he beat up when he was younger, and is humiliated beaten up by the old man. Similarly, Billybob and Dim, who are now cops, take Alex out to a field and brutally beat him to take their revenge. Alex cannot fight back, because the thought of violence is too overwhelming for him. At one point in the novel he is trapped in a room and hears classical music.