I had a similair problem. While I was in leadership in the church I would visit the local inappropriate content shop. Over and Over, I would tell myself, Last time. And I kept on doing it. I got caught by some brothers, and I confessed to what I had done. I removed myself from leadership, and prayed...Safely...