Especially bad habits! If you want to break a bad habit, you must simply replace it with a good habit. Replace something unconstructive with something constructive. Chew gum instead of candy. Replace soda with water. Replace snacking with a walk. Replace couch sitting for floor sitting & exercise.
Look for ways to enhance your life at every opportunity.