This might be the best book on Habits. James Clear give lots of actionable advice and great wisdom as well! The book gives lots of examples from his own life and life of others.
Below are my notes:
General outline for creating habits.
To start a new habit, you must make it very very easy.
To form a new habit, you must write down the exact time and location of your new habit.
To form a habit, you must give yourself a reward.
Motivation is overrated. Changing your environment in more important to form a habit.
Use a Habit Tracker to help you keep up your habit
To keep up a habit, you must make a habit contract or have an accountability partner.