I had to lose weight after knee injury. I couldn’t run, so I started going to the gym. I used weights, bike, stair climber, and eliptical. To diet, I cut back on portion, but I also gave up on sugar and alcohol. The weight loss went very well.
If you just reducing eating, you will lose both fat and muscle in proportion to your body composition. Then, because muscle burns calories even at rest, the loss of muscle will reduce your ability to burn calories. As a result, if you return to your previous diet, you will gain more weight then you lost.
it has to be diet and exercise!