Treatment of Diaphragmatic Hernia Surgical repair If diaphragmatic hernia is suspected in a neonate with respiratory distress, the neonate should be immediately endotracheally intubated and ventilated in the delivery room. Bag-and-mask ventilation should be avoided because it may fill the displaced intrathoracic viscera with air and worsen respiratory compromise.