How to prevent whooping cough?

It is an infectious disease caused by Hordetella pertussis. It occurs in young children. It is characterized by mild fever and irritating cough.