Remember that even though you are relapsing you are still recovering because you are lessening your habit. Yes the goal is to get away from porn entirely 100%, but I'm willing to bet that you were looking at it multiple times per day at one point. You're no longer doing that, so you've already made a huge first step!