You're going to get different answers, because there isn't one correct method that best suits every individual.
First and foremost, figure out your maintenance caloric intake and create a slight deficit, usually averaging 250-500 calories/per day, depending on rate of intended fat loss.
You can start by setting protein intake at 40% or roughly 1 gram/lb of bodyweight (or some do by lean body mass), then allocate the remainder of the daily caloric allotment from fat and carbs. As long as you hit your macros, you can adjust fat and carbs based on energy levels and carb sensitivity. Some people do better on higher carb, lower fat protocols, and others are the opposite. At the end of the day maintaining a caloric deficit is important. Some people report better results by carb cycling, i.e., timing carb intake around workouts - pre and post, though your mileage may vary.