Optimizing your health and weight prior to becoming pregnant are key to having a healthy pregnancy and reducing the risk of gestational diabetes. A healthy diet and regular exercise can help, but when those are not enough, talk to your doctor to discuss other potential risk management options.