James Clear creates this strategy guide for building new habits that actually stick. Highly suggest visiting his website to learn more about habits.
1. Start with an incredibly small habit.

Make it easy enough that you can get it done without motivation.
2. Increase your habit in very small ways.

One percent improvements add up surprisingly fast. So do one percent declines.
3. As you build up, break habits into chunks.

It is important to keep each habit reasonable, so that you can maintain momentum and make the behavior as easy as possible to accomplish.
4. When you slip, get back on track quickly.

You just need to be consistent, not perfect. Focus on building the identity of someone who never misses a habit twice.
5. Be patient. Stick to a pace you can sustain.

You can make incredible progress if you are consistent and patient.
* Source: James Clear – How to Build a New Habit: This is Your Strategy Guide