Most of them self harm because the removal the pain feels good - and it takes with it some emotional pain.
Though there probably are some masochists that truly enjoy the pain, but that's a different condition than the more common I-hate-myself-so-I-hurt-myself.