A method of purifying one's heart is to repeat every morning and every evening:

My thoughtful self!
reproach no one,
hold a grudge against no one,
bear malice against no one,
be wise, tolerant, considerate,
polite and kind to all.

Hazrat Inayat Khan in The Wisdom of Sufism