There are two reasons:
1 Drugs are usually harmful to health.
After stopping taking the medicine, the weight will rebound quickly.
It is recommended to exercise more and control your diet.
About sports: Try different sports and find something you like, so it's easy to stick to it.
About diet: You can search online for a diet formula with low calorie and reasonable nutrition.