When you notice that you're becoming inconsistent, WRITE IT DOWN!
Write the unhealthy habits you need to change, write a meal plan, workout plan, and MENTALLY START OVER! The purpose is to acknowledge you're falling off and committing to the lifestyle you started. This is you taking control, not the food and your desires. Writing things down is you self-regulating your journey & reminding yourself to stay focused.