Need some advice

Does ANYONE have any advice to stop this cycle. I’ll be on my calorie deficit fine for the half of the day but then I’ll get a random urge to binge and go CRAZY. I need help with this you guys.