If you're having a hard time being compassionate to or forgiving of yourself or others, you repeat these four phrases directed to yourself or the other person: "I'm sorry. Please forgive me. Thank you. I love you." And just by saying and feeling those phrases, you will find your heart starts to melt.
