I know this has been a serious problem to many young men out there, me included. Lately I think I have come up with a solution to it.(I don't know if it works, I'm still experimenting). I thought that the best way to try and stop is to completely put it in your head that you want to stop...no pun intended.
Since everything originates from the brain, even that craving to masturbate, you should now try to have a craving to stop. Believe that you can stop. Record your progress and be proud of yourself. I believe that if you can control your psychology then you could also control your cravings.
In addition to all that, don't be idle. Find anything productive that you can do...clean, work, exercise, go out. Just do anything that would help take masturbation out of your mind. In fact, completely remove masturbation from your mind and think of other things that you can do.
I also think it would be best to have a girlfriend and to stick away from porn. This is so beneficial because it would reduce the effect of your penis getting smaller. Keep a girlfriend who would help you relieve yourself when you have that craving. But try to ignore the smaller cravings. I know there at times when you just get too horny to think of anything else. Try doing something else at that moment like exercise, it always works.
And remember, you can't just wake up one morning and say, "I won't masturbate any more. " I don't think that's possible. Even alcoholics and drug addicts can't just stop. It is a long slow process that bears good fruit in the end. Start by reducing the frequency of your masturbating. If u did it twice a day, start doing it once every two days then once every week then once a month. But, as I said earlier it would really help having a woman in your life not only to help relieve yourself but also for moral support.
I know it's hard trying to stop, I have tried many times but this time I am sure.I started masturbating when I was eleven years old and now I'm eighteen, I guess my hormones developed earlier. So in total I've been masturbating for seven good years. A while ago I couldn't stay a whole day without masturbating, at this point it actually got painful rather than pleasurable and now three months down the line I haven't masturbated even once. Of course the journey has not been easy for me. At times I would wake up in the middle of the night feeling so horny with a fully erect **** that just wouldn't relax. But it takes determination my friends. That determination is what takes you far.
It also helps to share your experiences like many people do here on this website. It really boosts your morale. Anyway, try doing this and see how far you can really get. There are other ways but I'm sharing what I know and I hope it will help others with the same people.
Last but not least, pray. Pray to God to help you. It doesn't matter what religion you are just pray. And remember you can't do this by yourself, you need the moral support from God and from your loved one. Tell me if this method works on you too. I wish you all the best.