Dealing with a dog in pain

Comforting a dog in pain

What to do to comfort a dog in pain?