When you see a mistake, you can get smarter by way of reverse imitation. Learn to do the opposite.
This apply to our own mistakes. We can take notice and decide to do the opposite.
It requires stamina and wit.
Stamina, to accept that we did a mistake. And instead of self-defending, getting smarter for next time.
Wit. 1) maybe it is not a mistake. It is tricky to know which actions are smart and which are not. Sometimes, what seems stupid has some reason.
2) Not every mistake has to be avoided. Our ability to act wisely is limited, and we ought to "manage" ourselves in a smart way. Not just correcting every mistake. Sometimes it is overwhelming.