If you have diabetes then your pregnancy has to be a planned one. You must talk to your endocrinologist. You may have to switch to medicines which are safer for the baby, and your blood sugar level has to be optimised to reduce risks of malformation in baby.
If you have signs of kidney disease, eye disease, heart disease, nerve damage then pregnancy may aggravate complications. So you would need treatment before you get pregnant. Your spouse’s blood sugar level also needs to be optimised.
Polycystic ovary syndrome (PCOS) is common with diabetes. Once your blood sugar is under control, you may need treatment for PCOS to help in ovulation.