Curious ... at how many weeks do drs stop giving steroids for babies lungs?

Also when do drs not stop labour at how many weeks?