Coping with the past

We can’t change the past, but current me feels really stupid for my personal past. If you learned from a dumb decision, should you still dwell on it? Some people on here are kinda making me think I should dwell on it because they’re like yeah you’re dumb for that decision and should’ve been educated. Then I’m like yo how could I have been so stupid.