Diabetes is not a genetic disease per se, but rather a disease with some genetic predisposition. Diabetes is an endocrine metabolic disease, a series of manifestations brought about by elevated blood sugar, and is a disease related to the body’s energy metabolism. The occurrence of diabetes is due to both endogenous and exogenous causes, among which type 1 diabetes is mainly due to endogenous causes, that is, the lack of perfect insulin function due to its own causes, so it needs to rely on insulin treatment for life. For people with type 2 diabetes, there is a certain genetic predisposition, that is, if you inherit the gene for the disease from your parents, coupled with the role of some adverse factors in the environment, then you may develop diabetes. Therefore, people whose parents have diabetes should pay more attention to their lifestyle, not overeating, living and eating regularly, not staying up late, avoiding late night snacking, quitting smoking and limiting alcohol, insisting on exercise, monitoring weight regularly, as long as they pay attention to healthy eating and living and regular exercise, they can significantly reduce the risk of diabetes. Female patients should also pay attention to strengthen blood sugar management during pregnancy to avoid huge fetuses and increase the risk of neonatal diabetes.