When I get upset at myself, usually over something miniscule that I shouldn't be upset about, I instantly jump to me needing to be punished for my transgressions. Most of the time I've done nothing objectively wrong worth getting punished over, but I HARDCORE believe I need a punishment. Cue self-harm. I've been fighting it better recently, distractions and trying to let it flow through me. Sometimes though I get hit hard with the need to show myself how it's not acceptable to be the way I am. Probably because I despise myself. 

Anyway, how do you guys battle the feeling that you need to be punished when you get upset at yourself? I neeeeeed guidance.