Neonatal surgery is performed on infants with defects that cannot be treated while in the womb. Surgery may be done immediately after birth or in the days or weeks that follow. Fetal and neonatal surgery are both highly complex and often risky procedures involving a multidisciplinary team of specialists.