Does anyone else have a hard time letting go of stupid stuff

I turned at the wrong time while driving today to work. Could have been a big accident but luckily nothing bad happened. I've been thinking about it all day. My head going I'm so stupid, I f up, I could have been hurt, that was dumb, stupid stupid,ect no matter how hard I try and let it go and tell myself everyone makes mistakes. Nothing bad happened, Now you know better, Bashing yourself won't help, ect I cant stop thinking about it. It's now making it hard to sleep. I make a mistake and I cant seem to stop or make the thought go away. I lose sleep, I feel horrible or I don't eat. I cant seem to tell myself enough positive things to .ake it stop. Idk what I'm supposed to do. Any advice?