I posted this on another forum, but I'll share here, too.
Ok, so since I'm frequently in a situation where I can't control what little evil goodies are lurking around me, I visualize. One of my goals is to have a butt that looks great in a thong, so every time I'm tempted by something, I picture what my butt could look like if I stick to the plan and compare that with the biggest, chunkiest, cottage-cheese looking butt I can possibly imagine. I'm then so disgusted with my negative potential, that I'm usually a little nauseated and have no desire for the little evil - even if it's shoved right under my nose.
Remind yourself of what's really important! Is that candy really worth what it will cost you?