GBS (Group B Strep) Pregnancy

I am currently 37 weeks pregnant and just found out I have GBS. My OB didn’t seem so concerned when she told me I tested positive, just told me that I needed to take antibiotics while I go into labor before baby gets infected with GBS. I looked up what GBS was and can do if baby contracts it. So paranoid and scared for my baby. Has anyone been through this and can tell me more about it? Does a c-section change anything or give less of a chance of baby developing GBS?