Treatment is based on how far along a woman is in pregnancy and whether complications are present. In those at or near term without any complications, induction of labor is generally recommended. Time may also be provided for labor to begin spontaneously. In those 24 to 34 weeks of gestation without complications corticosteroids and close observation is recommended. A 2017 Cochrane review found waiting generally resulted in better outcomes in those before 37 weeks. Antibiotics may be given for those at risk of "Group B streptococcus". Delivery is generally indicated in those with complications, regardless of how far along in pregnancy.