For people who have type 2 diabetes, diet and lifestyle changes can control blood sugar so well that medication may not be needed. Diet and exercise also work with your diabetes medication to improve your blood sugar control.