The best way to turn a behavior into a habit is to use a trigger to remind yourself to do it. Your trigger needs to be something you always do anyway. Anything you already do without thinking works.
As you build new habits, you create new triggers for yourself and stack a new habit onto it. Each existing habit acts as a trigger to remind you to complete the next one until it becomes natural to do both together.
This guide shows you everything you need to know about building good habits and breaking bad habits. You can download this guide as a free ebook by entering your email address below. Just enter your email address below and you'll receive instant access to download the 19-page ebook.
The basic process for building all habits is basically the same: you repeatedly condition the behavior you want, over time, until it becomes automatic. There's two main ways you can condition a habit. One is through classical conditioning. This is simply a paired association with a trigger and a behavior.
In my book New York Times bestselling book Atomic Habits, I explain that the process of building a habit can be divided into four simple steps: cue, craving, response, and reward. The image below shows the habit loop and how these four factors work together to build new habits.