The first thing I would do is talk to God and ask him, even though you know the answer, God do you want me to look at porn? Then take a secular class on breaking free of a porn addiction. Throw away your phone and buy a new one. The pain of that may spark you to breaking the habit. But without Jesus you can do nothing. SO what do we do?
We first need to know that where the spirit of the Lord is, there is freedom. God has a plan to break us free of sins hold while still on earth. But ask yourself, do you really like looking at porn a little but just know it is wrong. That could be you. I can tell you that God saved me from looking at Porn and it was by starting to study Gods commandments and do them, you know, treating others how they want to be treated and so on. Even though I fell short a few times, eventually I was successful. I believe there is nothing that God cannot deliver us from. BUT you have got to really want it. Jesus cares so much about us. Willingly He went through pain so we may escape our pain. Tell him you are dealing with Porn then tell another Christian your looking or have looked at Porn. Tell them and this is what the Lord promises. If we confess our sins, He is faithful and just to forgive us our sins and cleanse us from all unrighteousness. The Lord could come back any time. Let’s be ready