When watching a video that the YouTube algorithm introduced me to, I came across this proverb (at five minutes and 35 seconds in):
Quand on a pas de tête, on a des jambes.
“When we have no head, we have legs.” As explained in the video, it’s typically used in cases when people forget something and have to go back to get it (like keys), but it can also be expanded to a general approach about mistakes. Accept that a mistake happened, then go towards the solution.