Another method that I have found effective in getting rid of the self-critical brain loop is asking myself “have I already learned the lesson of the mistake here?” If the answer is no, I use the technique you described of trying to figure out what the mistake(s) were that lead to the event and how I could fix them. However, I found that figuring this out alone did not stop the loop, so it is important that whenever the answer to the question becomes ‘yes’ to the question of whether you learned the lesson to enforce very strongly in your brain that there is nothing else useful to be learned here, I am wasting my time. This technique was harder the first few times, but once it became a habit for me I was able to start breaking the loop pretty easily just by logically showing myself that I was being stupid.
Another method that I have found effective in getting rid of the self-critical brain loop is asking myself “have I already learned the lesson of the mistake here?” If the answer is no, I use the technique you described of trying to figure out what the mistake(s) were that lead to the event and how I could fix them. However, I found that figuring this out alone did not stop the loop, so it is important that whenever the answer to the question becomes ‘yes’ to the question of whether you learned the lesson to enforce very strongly in your brain that there is nothing else useful to be learned here, I am wasting my time. This technique was harder the first few times, but once it became a habit for me I was able to start breaking the loop pretty easily just by logically showing myself that I was being stupid.