Wiktionary
kick the habit
vb. (context idiomatic English) To recover from or quit an addiction or habit. For example, to quit smoking, drinking, or drug addiction.