Some ideas:
If you live with people keep the computer in an area that is public in the house.
Instead of stopping cold turkey try to appreciate some soft porn for a while ie pics of beautiful naked females, without busting a nut. If you are single use this as motivation to find such a fine specimen in real life, get fit and confident to attract them.
Spend time each day in sitting in silence stilling your mind, reflect on the transient nature of life, how we take it for granted, how our loved ones will not be with us at some point, how our own body will be rotting in the ground in the near future.
Connect with people more, socialize more don't hide away in a dull lifeless masturbatory world, excessive spendage of the semen weakens immune system and will age you faster.