Rumination over mistakes

When I realize that I have made a mistake or wronged someone, I have a hard time “just learning from it and moving forward”. Whenever the situation allows, I apologize to the person immediately. I agonize over it for days and days. Sometimes, the person I have wronged responds kindly to my apology and I feel better instantly. It is an uncomfortable feeling of embarrassment, guilt and shame that I “sit with”, but how long is too long? It is a disabling, paralyzing feeling that gets in the way of me getting anything else done. Is it just how it is? Is this what Brooke means by allowing yourself to feel the feeling or is there another way to look at this scenario?
Thank you.