Nicu stay

How long does a baby have to stay in the nicu if born at 35 weeks? I got the steroid shot too at 29 weeks.