This is what you should do if you have type 2 diabetes.