For pregnant women who test positive for GBS, antibiotics are usually administered during labor to reduce the risk of transmitting the bacteria to the baby. The most commonly used antibiotic is penicillin, although alternatives exist for those who are allergic. Treatment is highly effective in preventing neonatal GBS infections.