Wounded 8 yr old

There is an 8 yr old inside of me that always tries to do things right and never make a mistake because she believed it was life or death. Sometimes when I am running hard I get into dark waters and this 8 yr old starts to tremble and become highly anxious and then when she is feeling small and ashamed with a disrespectful supervisor at work I stay small with her because I didn’t protect her enough and stand up for her. This doesn’t happen all the time but is there a way of preventing this in the future or a different way of looking at it?