Management depends on gestational age and the presence of complications. Hospitalization is often required for closer monitoring. Antibiotics are typically administered to prevent infection, and corticosteroids are given to accelerate fetal lung maturity if the pregnancy is between 24 and 34 weeks. Tocolytics may be used to delay labor, and magnesium sulfate can be administered for neuroprotection if delivery is imminent before 32 weeks.