The voluntary self-punishment in order to atone for some wrongdoing.
Websters dictionary defines it as
1. Degradation of one's self by one's own act.
2. Humiliation or abasement proceeding from consciousness of inferiority, guilt, or shame.
Self-abasement might have a religious aspect for those seeking humility before God, perhaps in the context of monastic or cenobitic lifestyle.
It also has a sexual and fetish aspect for those people who enjoy erotic humiliation and other related ] practices. Examples of self-abasement practices would include self-flagellation , bondage, torture, public humiliation including online humiliation .