On top of logging your food and reducing caloric intake, you definitely need to begin a basic barbell strength training program. The extra muscle mass will improve the way you look at any given weight and create more metabolically active tissue such that it becomes easier for you to lose bodyfat in the long term. It's also a lot of fun with a surprisingly high retention rate and will definitely help you to keep the unhealthy weight off in the long run.
I recommend Starting Strength, by Mark Rippetoe. Here is a step-by-step guide that tells you exactly what to do from day one:
https://startingstrengthmirror.fando..._Strength_Wiki
If you want to, there is also a 300+ page book to dive into for understanding the theory and all the specific details, but posting videos of you performing the lifts to be coached by people on here is probably a much better/easier way of approaching things.