it's really all about changing your mindset. You've made it to this site because you felt you had a problem. If you feel you have a problem, then you have a problem. This is all in our heads. If porn is affecting your daily life, then it's a problem. If you waste hours a day in your room looking at your computer at fake girls, that's a problem.
So yes, people masturbate, people watch porn. All this happens, so if you masturbate and watch porn very occasionally, you will eventually get better. But occasionally is the key word here, I'm talking once a month MAX. Most people who made it to this forum cannot do this. It's best to keep away from it all while you recover.
It's like talking to a recovering alcoholic, yes he probably can recover if he limits his alcohol consumption to once a month, BUT that's not likely to actually occur.