Many birth defects can be diagnosed while the baby is still in the womb. This lets health care providers treat or even correct some problems before the baby is born.