Eat Grain, fruits and vegetable's; being active; regularly do exercise in including 10 minute tense exercise. Sleep well and drink plenty of water. Be happy.
I use MyFitnessPal app to track calories. It gives you a breakdown of nutrients in your food. It also has a barcode reader
The Ketogenic Diet has worked well for me.