If your dog is hyperventilating, a few home remedies can help them calm down and breathe more evenly. Make sure that they breathe fresh air and are not in a confined space. Try gently massaging their chest and sides to help relax the muscles. If your dog is panting heavily, you can try to cool them down by wetting a towel with cool water and placing it on its neck or chest.