A dog will generally stop panting within 15 to 20 minutes after ceasing physical activity. If a dog is panting excessively, however, it may indicate a more serious underlying condition, and medical attention should be sought.