Help! Temptations

It's late at night, I can't sleep, I've been good all day but now feel like bingeing out on the leftovers in fridge, roast chicken and potatoes, how do you stop yourself when you feel tempted?