Not anger, action!
When you make a mistake, think it through how you might have done it differently. Keep doing this so that you can get into your mind and into your routine how to do something differently in the future.
If a good thought comes to mind it’s probably God reminding you in you to… If a good thought comes to mind it’s probably God reminding you is in you to…