For some people who have type 2 diabetes, diet and lifestyle changes may control blood sugar so well that medication may not be needed. For others, diet and exercise can work alongside diabetes medication to help control your blood sugar.