Guilt doesn't help. What should fill in for it? Remorse. Remorse is when you feel bad about what you did. Guilt is when you feel bad about who you are.
Forgiving yourself, not guilt, increases personal accountability.
Guilt serves a powerful social function in terms of policing our behavior.
Guilt is not the best way to remedy your mistakes.