The mainstay of treatment involves the administration of broad-spectrum antibiotics. Common regimens include the use of ampicillin and gentamicin, often in combination with clindamycin or metronidazole. In many cases, delivery of the baby is necessary to control the infection and prevent further complications.