I can relate to you here. I often remember things I've done in the past that have embarrassed me or made me feel bad in whatever way, but not just from childhood though. Pretty much anything I've done that made me feel guilty or bad I remember it and will sometimes get stuck thinking about it alot. It is annoying because then i become pretty angry or upset over it, even though it happened a few months a go, a few years ago, way too long ago to even think about!
I don't really know what advice to give for it though. just to let you know you aren't alone in it.