When I went really off plan I had to remind myself why I wanted to lose the weight in the first place, then I tried a day of success express to refocus.
Sometimes though I find that I need to just do what my body wants (even if it is naughty) otherwise I will obsess about it.
I also find reading the magazine or reviewing my books helps.
Good luck!