To have compassion is to have understanding. To be compassionate is to be forgiving. To develop compassion, first understand and forgive yourself, knowing that you are doing the best you can within your current belief system and your current capability levels. The more understanding, forgiveness and loving kindness you can give yourself the more genuine compassion you can feel for someone else and the more compassion you can give to someone else.
Do not judge yourself or anyone else. There are only teachers for you, not friends or enemies. There are only lessons for you, not “good” or “bad” experiences. You are here to heal, grow and evolve. Be kind to yourself, you are a child of the Universe. Be compassionate to yourself and to others in your understanding, forgiveness and love.