Compassion is not an idea or something we can imagine. It is a mental formation that has an immediate result in action of body, speech, or mind. It is rooted in understanding. When we understand why we suffer we can be compassionate to ourselves. When we understand how others suffer then we can be compassionate to them.