Phrasal verb
wean someone off something
Meaning: to gradually break a bad habit by doing it less and less.
Examples:
If you're addicted to cigarettes, you could try to wean yourself off them by smoking fewer and fewer every day.
If somebody's hooked on drugs and they want to quit, they can stop all of a sudden, or they can slowly wean themselves off.
We’re trying to wean ourselves off watching too much television.