It's important to pay attention to the duration and frequency of the cough, as well as the presence of other symptoms. If your pet's cough persists for more than a few days, is worsening, or is accompanied by symptoms like difficulty breathing, decreased appetite, lethargy, or coughing up blood, it's recommended to seek veterinary attention as soon as possible.