Politely decline if someone tries to offer you any food you don't want, doesn't matter if you're on a diet or not. Still you need to have the willpower to decline foods that you may have once ate if you're wanting to lose weight. It's okay to have a few cheat foods, just make sure you're not eating them all the time.