flagellant: a person who is whipped or whips himself for sexual gratification
masochist: someone who obtains pleasure from receiving punishment
esmolol: intravenous beta blocker (trade name Brevibloc) that acts for only a short time; used primarily for cardiac arrhythmias