If a pregnant woman tests positive for GBS, she is usually given antibiotics during labor to prevent the transmission of the bacteria to the newborn. The most common antibiotic used is penicillin. If the woman is allergic to penicillin, alternative antibiotics such as clindamycin or erythromycin may be used.