Whopping cough

Samantha
I am 26 weeks and have been exposed to a child who has whooping cough. I saw my gp tonight and he put me on a course of meds as i work in child care. A little worried right now.