How Habits Work
A habit is a loop with three components: a cue, a routine, and a reward.
The cue triggers the behaviour — it might be a time of day, an emotional state, a location, or an event. The routine is the behaviour itself. The reward reinforces the loop, making the brain more likely to repeat it.
Once established, habits run automatically. You don't decide to check your phone when you hear a notification — you do it. The same mechanism can work for you or against you financially. Impulse spending is often habit-driven. So is consistent saving.