The consensus of the medical community—including both researchers and healthcare providers—is that lifestyle factors like food, activity, sleep, and mindset form the foundation for any weight-loss treatment, including prescription medication and even surgery. For people whose biology makes losing weight more challenging, medications help level the playing field—but they can’t make you eat healthier or move more or shift your mindset. Thus, experts say that these medications should be used as an adjunct to a lifestyle modification program.