More than likely you've had an occasional slip-up when trying to avoid certain foods while dieting.
There's no need to be ashamed of it, since it can happen to anyone. However, if you're someone who's struggling with an eating disorder, having certain triggers around food can cause a serious problem.
A trigger is something that can set off a memory in someone and bring you back to the place where you've experienced some kind of trauma. Every person is different, and there are certain triggers you may try to avoid completely so that you're not taken back to that negative place.
Even though food addiction has similar traits to other addictions like drugs and alcohol, it can be more difficult to treat. Usually with drug addicts and alcoholics, you have to completely stop using. It's also suggested to avoid triggers like being around those who use drugs and/or alcohol.
However, you can't just avoid food; you need it in order to survive.
Through her own personal experience with food addiction, Rhona Epstein, PsyD, wrote a new book, Food Triggers: End Your Cravings, Eat Well, and Live Better to help others like you who may be suffering from food addiction, having trouble conquering your triggers, and may not know where to turn for help.