Boundary Example

Ok, I disrespect myself by calling myself names if I make a mistake. This a boundary violation because I don’t allow others to do that.. I would like my action to be that I don’t do that at all, but what do I do when it does without insulting myself more. Just notice it with compassion?