2. Instead of eating the forbidden piece of candy, brush your teeth. If you're about to cheat, allow yourself a treat, then eat only half a bite and throw the other half away.
3. When hunger hits, wait 10 minutes before eating and see if it passes. Set attainable goals. Don't say, "I want to lose 50 pounds." Say, "I want to lose 5 pounds a month." Get enough sleep but not too much. Try to avoid sugar. Highly sweetened foods tend to make you crave more.
For More info on dieting: Health Help