As someone who has spent my entire life struggling with food and yo-yo dieting, I resisted keeping track of what I ate for a long time. I was afraid that it would make those bad habits worse. I was worried about being too strict, or just getting frustrated and saying 'forget it' and going back to overeating.
And for a while, it worked for me...I lost the weight (around 80 pounds, over maybe 1.5 years.)
But more than a year after I hit my goal (still taking sema with my doctor's approval), I started gaining back weight. So, I reluctantly started tracking food to get an idea of what was going on.
I realized that tracking food can be useful. I *do* have to pay attention to how I feel about it because I tend to think in extremes, which doesn't help. But, understanding what I'm eating, when, and WHY, helped me control my weight again. And I didn't have to keep tracking once I was back on track.
The tracking app I used was Chronometer. There's a free version and a paid version -- the free one works fine, but the paid version has extra features. For example, you can take a picture of your food and the app will analyze it, but you can still change it manually if it gets something wrong.
It's important to me to see the tracking data as a way to learn, not a way to judge myself. Instead of getting mad at myself for 'going over' calories on a certain day, I look at the average for the week. I look for trends showing where the extra calories are coming from. I realized that I needed to get rid of my kids' snacks because I was eating them too much. I tried to be curious about it instead of blaming myself.
If I start gaining weight again, I'll use the tools to track my food. They're helpful if you use them to help yourself and not to punish yourself.