First, pinpoint the bad habit you want to drop. Then, set limits on how much time you spend on it. Replace it with better habits gradually.