I have had a patient this past week with this same problem. It is addictive and very difficult to treat. I told this patient what I will tell you. It is important to remove triggers from your environment, things that make you want to masturbate, that remind you of masturbating. Television, videos, internet, magazines... these can all be sources for temptation that make it hard for you to resist. I would start by changing your environment. It also helps to keep a journal, writing down your thoughts, feelings, and reasons for wanting to masturbate, to better understand your motivations and gain insight into your addiction. Having a therapist if one is available, one who can maintain confidentiality, is a plus. I would disagree to rush into a marriage just to get out of your
masturbation issues. If intimacy with a partner is your issue, it might be helpful to consider trying to desensitize yourself by addressing your fears and getting more experience with the opposite sex. Do you watch pornography? Do you have any history of sexual abuse? You really need to evaluate why you have this problem and try to understand it. It is also, in many ways, a normal thing to try to experiment, masturbate, especially in your teenage years. There is nothing wrong with this. However, if it becomes to a point where you cannot maintain relationships, difficulty obtaining a job, or affecting your life in other ways, then it is no longer considered normal but rather an addiction.
Hope this helps.