Terriers, and especially Yorkshire terriers, are especially prone to this condition. It typically gets worse as the dog ages, and surgery is pretty expensive. I've read that canine collagen supplements help to strengthen the trachea since it is largely composed of this structural protein. Bone broth is also supposed to be rich in collagen.

https://health.clevelandclinic.org/the-best-way-you-can-get-more-collagen/