Typical glucocorticoids that would be administered in this context are betamethasone or dexamethasone, often when the fetus has reached viability at 23 weeks.
Stopping nicotine use and smoking several weeks before and several weeks after surgery cleans the body and improves the chance of an uneventful recovery.