Yes. The Centers for Disease Control and Prevention recommends that all pregnant women be tested for GBS in her vagina and rectum when she is 35 to 37 weeks pregnant. GBS can be cultured with a swab during a pelvic examination or from a mother's urine. If you are a carrier, you should be given antibiotics through the vein (IV) at the time of labor or when their water breaks.
It's important to understand that, in spite of testing and treatment, some babies still develop GBS disease. Research is ongoing to develop vaccines to prevent GBS disease. In the future, women who are vaccinated against GBS may make antibodies that cross the placenta and protect the baby during birth and early infancy.