There's no way any of us can escape pain in life. I'm not sure of much, but I am sure all of us share this reality.
In the spirit of that universal truth, I recently landed on something that helps me better cope with my pain and assists me when I begin judging how others react to a painful situation. Let me be me and I'll let you be you. I offer this simple formulation with the sincere hope it might be of use when someone you know is in pain and you want to help. It doesn't matter what the circumstances are that caused the pain. Nor is it of any consequence the form that pain takes in the person you want to help. The person might be angry, in denial, sad, or something else. Let them be them while you be you.
When another person is in pain, empathic listening can frequently be helpful. But not everyone has that skill. Minimizing or trying to fix or explain away someone else's pain - often because it doesn't show up like your own - is downright unhelpful. Why not just agree your way of dealing with pain is no more helpful to me than my way of dealing with pain is to you?