I have a perspective that I try to keep in mind that may helpful to you. I don't know if you're keeping a journal -- if not then you should be -- in your journal, always (or frequently) try to address two things that are the most important in this effort:
#1 - WHY ARE YOU QUITTING THIS HABIT? What has it done to you? Do you realize how bad the effect has been on you? You must have if you're here. What were the effects on you?
#2 - WHAT WILL BREAKING YOUR HABIT DO FOR YOU? WHAT ARE ALL THE GREAT THINGS YOU'RE GOING TO GET FROM BREAKING THIS HABIT? 1000s of reports all claim the same benefits: better concentration, more sexual attraction to women, better sex, more confidence, better sleep, feeling better on the inside. Some people go on to better jobs, get hotter girlfriends, work out more. No one says, "I quit fapping and it f*cked my life up." Those things are likely for you too. What part of that vision compels you? What do you want? Do you want to be a man who is in control of his urges? it all sounds good, right? Don't be afraid to visualize it, want it, write it down, and aspire to it... it's likely that it will happen.
You need both #1 and #2. Too many people focus on #1, but that doesn't give you enough motivation. The real good stuff is in #2... that's how you define who you want to be, and that's how you get thru the tough times.
Btw, as a second piece of advice that may help, you may need to spend more time thinking about your triggers and avoiding them. If you're getting the temptation and falling into it, you need to keep identifying the triggers and ACTIVELY AVOIDING THEM ahead of time at all costs. I don't know that I can stress this enough. Read my last post in my journal. Does alcohol trigger you? Get rid of it. Is it cruising Facebook? Delete Facebook. Sneak a peek at bikini babes on The Chive? Block Chive. Actively manage all triggers before they can happen, and keep adding to your trigger list. And then stick to it.
Use every tool you can find to your benefit.
You can do this. I hope this helps.
~Cicero