You should look into your mistakes, admit them and learn the lesson so you do things better next time. But you shouldn’t hold guilt or regret because in the end you’re like any other person; you learn through living.
It’s the same as when you tell someone; “it’s ok. You didn’t know any better. You can’t go back and change things.” You can tell that to yourself too.
A lesson I learned late in life.