Everyone makes mistakes. They are unavoidable. Think of them as lessons learned, not a prison sentence. Resolve to not make the same mistake again if possible, but don't beat yourself up unnecessarily.