Penance
Part of speech: noun
Definition: A voluntary self-imposed punishment for a sinful act or wrongdoing. It may be intended to serve as reparation for the act. A sacrament in some Christian churches.
Example sentence: Today a celebrity sex video isn't a stigma that requires penance and smarm removal; it's a branding device, a platform enhancer, a show reel.
Self-abasement
Part of speech: noun
Definition: self-punishment in order to atone for some real or imagined wrongdoing.