Is there treatment for nec?

Yes. If by nec you mean necrotizing enterocolitis. Treatment usually involves stopping feedings, relieving gas in the intestines by use of a small suction tube and initiation of antibiotics.