Whooping Cough.

What’s the latest into my pregnancy I can get the shot?