Hi... Masochism is just a sexual preference, one amongst many. It becomes a disorder only when it is causing extreme distress and negatively interfering with one's daily functioning. I hope you have undergone a proper psychiatric evaluation, before self diagnosing yourself with such a disorder. You may seek counselling even to adjust and accept your preferences better and lead a healthy personal life.
Next Steps
Consult a Psychologist.
CBT along with Psychosexual Guidance and Counselling is required.
Health Tips
Mr. Gunjan Maithil
Senior Psychologist
Cell: nine six seven one three zero three one three four
Website: https://gunjanmaithil.wixsite.com/therapy
App: http://wix.to/fECHB08?ref=cl