Feed thoughts of kindness and compassion, for yourself and for others
It is easier to simply replace negative thoughts than trying to stop them.
Also, expressing gratitude for every little blessings in your life is great too.
After a few weeks of kindness, compassion and gratitude, these thoughts will get momentum, and you will have less and less space for activating the neural pathways of the rumination about the past