When the sense of sinning sinks in, what next? How do we get past it?
Psalm 32 recognizes that someone may well do something wrong some time and may regret it.
When I kept quiet,
my bones wore out,
I was groaning all day long---
every day, every night!
.... [Common English Bible]
Then, the unhappy regretful someone can try confession.