If you are at high risk of giving birth to a premature baby:
• You may be given steroids about 24 hours before delivery. Steroids can help your baby's lungs develop faster.
• Your doctor may do an amniocentesis. This test will check the maturity of your baby's lungs. The results will help determine the best time for delivery.