Synonyms
penance
punishment which one imposes on oneself to show one is sorry
reparation for wrong
penitence
sorrow and regret (for doing wrong, sin)
shame, sorrow
shrift
to get/give little attention to a person because he or she does not deserve it
reparation for wrong
SELF-FLAGELLATION as in Wiktionary
SELF-FLAGELLATION as in Wikipedia