We all make mistakes, it is basic human nature, and it goes without saying that it is not possible to be right all the time. Mistakes are just life lessons we can learn from
When you make a mistake, learn from it and where possible resolve not to repeat it and then forget about it.
You will feel better again almost straight away. What has happened has happened and it is now past, it is history.
A sensible or spiritually aware person does not criticise the mistakes of others, instead, he can also learn from them for the future too.
You can also help all other people, Instead of making their mistakes bigger, or making them feel worse, or making a situation worse.
Dissolve the mistake/s in your mind and then help them to also learn from them, forget about them and move on.