Temptation

I can get rid of weight but i need to fight off temptation to eat no-no foods and fun weight loss workouts to get in shape. Any help?