Flagelation

flaggelation is the act of whipping oneself for religious or spiritual purposes.