Although there is no specific cause for type one diabetes, genetics do play a part in its development.

Using moderation when eating meals high in fat, salt, and sugar can help prevent type two diabetes.

Type Two Diabetes on the other hand can be delayed or prevented altogether. Some risk factors for type two diabetes include:

Weight: If you are overweight or obese, you are more likely to develop diabetes. Eating foods low in fat, sugar, and cholesterol reduces your risk for developing diabetes.
Activity Level: Maintaining a regular exercise and staying active helps to reduce the likelihood of developing diabetes.
Genetics: If your family has a history of diabetes, you could be more likely to develop it.
Age: Type two diabetes is usually diagnosed later in life.
History of Gestational Diabetes: the Center for Disease Control estimates that gestational diabetes develops in 2-5% of pregnancies. In most cases it is resolves after the end of the pregnancy, but does increase the risk of developing diabetes later in life.