If you have a severe cough that doesn't seem to go away, you may have whopping cough. Whooping cough, or pertussis, is a highly contagious bacterial infection that affects your lungs and airways.