Worrying is natural. In fact, worry is an evolutionary tendency, since learning from your mistakes helps you not make them again. It’s how children learn not to touch hot things – and how our ancestors learned not to pet the crocodiles! But when contemplating or worrying about your mistakes becomes an obsession, it stops being a survival tool and can actually become harmful.
Source: https://www.netcredit.com/blog/how-to-stop-obsessing-over-mistakes/