Whooping cough vaccine.

Ana • 29, happily married, pregnant with baby #1
I had my 28 week appt today, thankfully everything is good. The doctor I met with recommended I get whooping cough and flu vaccines. I haven't today, but need to make up my mind soon. What you ladies think, have you done it, is it necessary?