Being self-critical is one thing, but being self-punishing is something else. Being self-flagellant isn’t productive. And ultimately, that’s what the job is, is to produce, right?
So I think there’s something to be said for, just, be gentle. Do better next time. And never stop moving.