The only answer is, 'suck it up mate'... There is no easy answer or quick fix.. It doesn't matter if it's Drugs, Alcohol, Nicotine, Coffee, Chocolate or Interenet Porn..!! There is only one fix, & that is stop doing it, stop thinking about it & find something else too do to take you'r mind off it, until you'r body & mind no longer craves it. Any other method is bollocks..
Good luck.