Masochism
Treating masochism is difficult, but it looks like psychotherapy can help in some cases. People who like to be hurt during sex often say they're happy, though. Even not in sex, masochism can be natural in people.