Allowing the urge

Hello, I was wondering if there was a way to explain how to allow an urge when I want to beat myself up? I’m having trouble knowing what that feels and looks like. When I’m in self pity or wanting to beat myself up, is it saying to myself that I’m choosing to do this right now and that’s okay? Or does it look like No, I will Not allow those thoughts anymore? Thank you!