There no one on this earth that can say consciously that they have not made a mistake. Mistakes are made everyday, all day. When we do fall down, there is nothing wrong with looking back on the why of it all. Try to right the wrong. Forgive oneself. Ask God to forgive you, and to insure that the lesson learned is not forgotten. One must remember that falling is not shameful. That falling replaces pride, with humility. Something all of us should experience.
When pride comes, then comes disgrace, but with humility comes wisdom.
He has showed you, O man, what is good. And what does the LORD require of you? To act justly and to love mercy and to walk humbly with your God.