Treatment of Esophageal Atresia Surgical repair Preoperative management aims to get the infant into optimal condition for surgery and prevent aspiration pneumonia, which makes surgical correction more hazardous.