self-punishment

Noun

 * 1) The act of punishing oneself.