Preterm labor

Would labor and delivery stop preterm labor at 36 weeks? Or would they give a shot to stop it