Smartphones are so ubiquitous that not having one is a modern-day taboo. So it's an interesting conundrum. If you use a computer instead of a smartphone to access the web then you can only go on Facebook when you're sitting at your desk so that limits your online time. Which is a good thing.
I suggest reading the book "Your Brain on Porn" for help quitting. It was really interesting because doctors and psychologists have always said that porn is harmless. So it's regular guys that are saying "wait a minute, this stuff is really bad for you!" and discovering all the side effects and what happens when you quit.
Your Brain on Porn Book | Your Brain On Porn