Guilt and regret comes from wishing past events occurred differently. While it can be beneficial to investigate past events in order to learn from them, removing self-judgment can go a long way from shifting a regret into a learning lesson.