Sometimes, the mother or baby experiences health problems during pregnancy. Good prenatal care and testing can help prevent, detect, and control some pregnancy complications.