Guy walks into a doctor's office, raises his arm, points to his shoulder, and says, "Doc, it hurts when I do that."
Doctor looks at him and says, "Then don't do that."
That's the most solid piece of advice I've heard. Think it solves 90% of the pain an average human goes through.
If it hurts to think about a loved one who's no longer with you, don't think about him/her. If it hurts to walk, take rest for a few days along with other medication (if required). If it hurts to talk (mouth ulcer), sit quietly till it stops hurting -maybe read a book or something.