Have you written a list of motivations?
I find that helps, and I also have a list of things to do when I want to eat, which includes reading my list of motivations.
There is also the three minute rule - before you eat, wait three minutes, which gives you time to assess the situation.
Don't...