If you are counting calories you aren't doing it right in the first place. Fruits and vegetables are your friend, you can gorge endlessly on them, no one got fat off northern fruit, or vegetables (obviously excluding staples like corn and potatoes.)
Find a way to make vegetables palatable. The other big factor is your gut biome, which can be improved by eating raw veggies, some fruits, and by things like making your own pickled mixes, non distilled vinegar on raw cut veggies, like peppers, cabbage, garlic, onion, peppercorns, and the like. No salt needed if you ask me.
Then the excercize of course, if you can get into an activity, something you look forward to doing.
The biggest drivers of obesity are pop for starters, diet is even worse in other ways. But also all the processed garbage. Whole grains, whole foods in general. Good luck.
Also I should add, sugar propaganda has fobbed off harms on fat, which is important, you want healthy fats obviously, but the stomach doesn't recognize being full until it has it's portion of fat and you will overeat.