Diabetes is a chronic disease that usually cannot be cured. Whether or not pancreatic function can be restored depends on the type of diabetes; type 1 diabetes generally does not restore pancreatic function, while some pancreatic function may be restored in type 2 diabetes. Methods of restoring islet function include diet control, exercise, weight loss, and taking hypoglycemic drugs such as metformin and rosiglitazone. Diabetes mellitus is a metabolic disease characterized by chronic hyperglycemia, which is a chronic disease that generally cannot be cured, but can only be slowed down by strict control of blood glucose and delaying the onset of diabetic complications. Type 1 diabetes is due to the destruction of pancreatic β-cells, absolute lack of insulin, the vast majority of pancreatic function can not be restored. 2 diabetes mellitus most patients have insulin resistance, there is a relative lack of insulin, a portion of the patients with treatment, insulin resistance can be improved, pancreatic function can be partially restored. To improve islet function, the diet should be low in salt, low in fat and low in sugar, active physical exercise and reasonable weight loss, all of which can help improve insulin resistance. Insulin sensitizers such as pioglitazone and rosiglitazone can also be used. Diabetic patients should go to the hospital and be treated under the guidance of the doctor.