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.