There are a number of in-the-moment ways to deal with food thoughts that keep you in a weight-gaining and weight-maintaining eating pattern.
First of all, you can try to suppress the thought. In other words, stop thinking what you’re thinking. You can think “stop,” say “stop” out loud, or even shout “stop.”
Another technique is to remove the thought. In this case you simply dismiss the thought. Or if suppression and removal aren’t effective methods for you, you could replace the food thought with a neutral thought, one not having to do with food and weight gain.
You could also resort to acceptance of the food thought without acting on it. This would mean being exposed to the food thought without doing anything about it. Acceptance, you could say, is a form of waiting it out. If you wait out a food thought, it will eventually fade away and you will be free of it. If waiting it out is too hard for you to do, trying to be accepting while you wait will give you a more focused goal and help you wait it out better.
Do you have your own way of dealing with pesky food thoughts? If so, what is it?