Next time, change your perspective—
Instead of: “oh no I cheated on my diet, I’m a failure!”
Think: “I over-indulged and that’s okay. I’m going to eat clean the rest of the day and possibly cut out some other foods to balance out my calorie intake for the day”
Balance > diet