An Antibiotic Shot May Prevent Some Infections of Pregnancy Prophylactic antibiotics may help when women who are giving birth require the aid of forceps or vacuum extraction.