Forgive me, please. Universal self -learning

What are you doing when you are mistaken? Speaking to others whose interests were affected by your carelessness, blame yourself and promise once again to yourself “I will not be like that” or look for the cause of the mistake so as not to repeat it again? You tell someone about your mistakes? Is it necessary to do it? It may be better to keep silent, hide the ends in the water, smile and pretend that nothing happened?