Slipping up once isn't an excuse to throw the day away and "start again tomorrow."
To contain mistakes and eliminate the spiral effect while developing or dropping habits, split your day into quarters: morning, afternoon, dinner, and night.
If you veer off course, just get back on track next quarter.
Just came across this and love it. So simple -- and so reassuring.
Really interesting!