I have a few bad experiences with teachers that still want to replay in my head from time to time.
As soon as I am aware of those thoughts I try to say to myself "Oops, there they are again". I then try to let them float on through and out of my mind like clouds floating through the sky. That is, I allow myself to be aware of them, but not allow them to capture control of my mind and emotions. This has been a long process, but these days they come around much more seldom, and when they do they have little power over me. (Unless I give in to them.)
_________________
"Righteous indignation is best left to those who are better able to handle it." - Bill W.