Medications can play an important role in weight management, but not at the expense of overall nutrition. And healthy lifestyle habits are also key.