To change a habit, identify the trigger/routine/reward and what isn’t working for you, then choose and practise new, better ones until the repetition forms the new habit.
Source: The 3 R’s of Habit Change: How To Start New Habits That Actually Stick @ JamesClear.com
Photo: Shopping by Roderick Eime under Creative Commons license