I plan! And I make sure I have the foods I plan for. I don't mean I have every meal plotted out down to the last green bean, but I know what my choices are for breakfast, lunch, dinner, and snacks. And then I stay with those choices as much as possible.
I keep foods that I shouldn't be eating out of the house, especially if they are foods I tend to overeat. You may not be able to do this--but in any case, I stock up on snacks and foods that will support my weight loss, and I choose those.
I also try to keep busy so that I don't eat out of boredom. Even just reading a book with a cup of tea can be nice.
Hope this gives you some ideas!
"My religion is kindness." --His Holiness the Dalai Lama