Every time the dog coughs it is spreading the disease.
If you are boarding your dog or sending it for training, check whether the establishment vaccinates against kennel cough or asks for it before accepting dogs.
If not you should get your dog vaccinated at least seven days before it goes in.