The correct answer is Detoxification.
When someone is addicted to a substance and they want to safely stop taking the substance they will go through a program of detoxification. They will be monitored and medically controlled to ensure that they are getting the addicted substance out of their bodies and breaking the addictive behavior. To detox means to purge the body of something.