Treating whooping cough early also helps prevent the spread of the disease to the people around you. Since whooping cough is highly contagious, it is important to treat it as early as possible.