Curate, connect, and discover
The way I see it, there are two kinds of shame:
Shame for doing something actually bad
Shame for doing something others/society has told you is bad
The first includes things that actually cause harm to someone, like a thoughtless comment or stepping on your dog's paw, etc. These are actions which require acknowledgement and amends.
The second is much broader, and includes everything from liking bad movies to being queer. These are things that may be unusual but are ultimately harmless. Someone or something in your life has just treated that oddity as a transgression, and one way or another you've internalized that perspective.
In my opinion it is crucially important for your well-being to be able to separate the two. If you don't, and you're treating the shame of having punched someone identically to liking a critically-panned movie, you're going to be a anxious wreck. You'll be constantly over-analyzing and policing yourself, feeling like a bad person who's just been really good at hiding it so far.
In the worst cases you might lash out at other people enjoying harmless things, redirecting your shame outward and becoming unable to distinguish truly harmful actions from those you’ve just been taught are bad.
Shame is a feeling that can really eat away at you if you let it. It's best to know when it's appropriate. If it is, you can act on it to resolve what's happened. If it's not, you can let that feeling go so it doesn't take any more from you.