self-affliction

Noun

 * 1) The infliction of pain or suffering on oneself