A person with whooping cough is contagious for about 2 weeks after the cough begins. Antibiotics may shorten the time that a person is contagious.