This type of diabetes occurs only during pregnancy, and it's more common as women get older. Tight control of blood sugar through diet, physical activity and other lifestyle measures is essential. Sometimes medication is needed as well. Left untreated, gestational diabetes can cause a baby to grow too large — which increases the risk of injuries during delivery.