Forming good habits is hard, and I struggle with it all the time. I once heard the analogy that forming a good habit is like trying to balance a coin on it's side - it will fall over the first few times but eventually it will stay. When trying to form a good habit, I mustn't get discouraged when I fail, and instead simply keep trying until I succeed.