A masochist is person who enjoys pain, usually deriving sexual thrill or satisfaction from the sensation.

masochist