My poor dog sounds terrible!

He’s a cairn terrier, and he’s developed a really bad cough. I was worried he’d swallowed a piece of chewtoy; but we took him to the vet who said he had an inflamed trachea, cause unknown. We’re giving him pills but the poor thing sounds like a goose honking.