'self-flagellation' definitions:

Definition of 'self-flagellation'

From: WordNet
noun
Self-punishment inflicted by whipping