One of the main reasons why people gain weight is that they consume more calories than they consume. As for the conversion of heat, it is basically available online. You can calculate the calories you need for a day according to your own habits, and then control your diet according to the calorimeter, so as not to let the total calories you consume exceed the standard. Some snacks are high in calories, so it is better to eat less. In fact, you can eat more oats, yams, sweet potatoes and so on. It's good for your health and has less calories.
Of course, exercise is also necessary.