Try a loving-kindness meditation.
Sit quietly, breathe normally, and repeat the phrase “May I be happy, may I be peaceful,” says Salzberg. Whenever your attention wanders, gently let those thoughts go and come back to the phrase. After repeating that phrase for yourself, offer it up to include all beings everywhere, saying “May all things be happy, may all things be peaceful.”