Stuck thinking about a negative

C: Had a negative situation that was resolved reasonably
T: I should have managed things better and it wouldn’t have happened in the first place
F: Hurt; embarrassed; angry at myself
A: Re-playing the scenario over and over in my mind re what I should have done differently
R: Stuck

How do I get unstuck