The best way to prevent necrotizing enterocolitis is to take steps to prevent a premature birth because about 90% of cases of necrotizing enterocolitis occur in premature infants. You can do this by:
Once your baby is born, you can help prevent necrotizing enterocolitis by feeding your baby breast milk, if possible. Necrotizing enterocolitis is much less common in babies who are fed breast milk.1
Citations
WebMD Medical Reference from Healthwise