The best way to prevent whooping cough is with the pertussis vaccine.

  1. The best way to prevent whooping cough is with the pertussis vaccine, which doctors often give in combination with vaccines against two other serious diseases, diphtheria and tetanus. This three-in-one combination is known as the DTaP vaccine. It's a newer and safer version of the DTP vaccine.
  2. It takes at least three shots of the pertussis vaccine to fully protect a child against whooping cough, but a total of five shots are recommended by age 6.