Kennel cough is making the rounds again (the whole summer has been like this!) so please be mindful with your dog's exposure.
A few tips:
If your dog comes in contact with a dog with kennel cough or is diagnosed with kennel cough:

Dogs are often contagious a week before they are symptomatic which makes it all very challenging to manage. If your dog comes in contact with a dog with kennel cough, you should take these precautions and monitor it for 7-10 days.
Most dogs get through kennel cough in 1-2 weeks without a problem. A small number of dogs may aspirate and require emergency veterinary care (watch for lethargy, and fever). If your dog is very young, very old, or has a compromised immune system, they are at a higher risk.
There is a vaccine (Bordetella) but even vaccinated dogs can get kennel cough as there are various types and strains. It is not a 100% catch-all preventive solution so do not rely solely on it. It is not zoonotic, meaning it does not transfer to people.
Please speak with your veterinarian if you have any questions or concerns.