What are people's tips for resisting food cravings? Only serious answers that work please.?

I want to lose weight but as soon as I try to stop eating fattening food, I get a craving for something. If anyone had tips for resisting cravings for sugar or salt or really indulgent foods like fries or nachos and cheese, I would really appreciate it. Thanks!
21 answers 21