Women - Confessions

I though I has succeeded a year ago when I went six months without porn or masturbation, but I was wrong. Here I am again, facing this same demon. Things are worse that ever. I don't even feel right sitting in the pews at church! Any advice?