When we endure our own tragedies or trials, most of us develop some empathy and compassion for others who are suffering. The trick is to keep that sense of compassion going throughout our daily lives, when we are likely to go on automatic pilot and move back into being judgmental, especially when times are tough.
One of the most common words in the invalidating, self-blaming stories we believe about ourselves or our situations is the word "should." The psychologist Albert Ellis has coined the phrase "Stop shoulding on yourself." When you tell yourself that you should feel or be another way, you are likely to feel bad about yourself. As an alternative, try telling yourself that it is okay to feel or be the way you are, even though you have some idea that you should feel or be different.
I heard a story about a woman who grew up in Texas. When she was having trouble in her life, she would visit her grandmother, who lived nearby and always had a kind word and some wisdom to pass on. One day she was complaining to her grandmother about some situation and her grandmother just turned to her, smiled sadly, and said, "Sometimes, darlin', you've just got to rise above yourself in this life." I've remembered that wise advice many times as I've faced trouble in my life.