While I do realize that there are some straight up perverts and predators out there, for the average porn or sex addict, it's root cause is a lack of intimacy. Such addictions is a coping mechanism, it's what the addict turns to when they feel lonely or rejected because it is the only form of "intimacy" (although a counterfiet) that they have ever known.
The only way to obtain victory over such an addiction is:
1. Understand that you are powerless to overcome this addiction in and of your own strength, after all it is your unhealthy desire(s) thus you must not rely on your own strength to battle this addiction. You must place all of your trust in God because God himself (true authentic intimacy with him) is the only cure for your condition.
2. Understand that sin is a choice and a choice you don't have to make if you put your complete trust in the Lord and his word which states we are given power to overcome come the flesh through the indwelling of the Holy Spirit (ie, his presence)
3. Once you realize that only God can deliver you from your condition, you must consecrate yourself. Consecration means getting rid of anything and everything that might tempt or distract you from seeking and entering into intimacy with God. If this means getting rid of the internet or your cable / satellite connection so be it. If it means stop hanging out with certain friends or family members so be it. Whatever it takes, get rid of it.
4. We can place our complete trust and reliance (FOCUS) in God by spending much more time in his presence through prayer and worship and also by delving deep into His word, understanding his promises for those who put their complete trust in him. Verses like the following:
John 8:31 Then Jesus said to those Jews who believed Him, “If you abide in My word, you are My disciples indeed. And you shall know the truth, and the truth shall make you free.”
1 Thes 4:3 "For this is the will of God, even unto your sanctification..." -
1st Corinthians 10:13 "No temptation has overtaken you except what is common to mankind. And God is faithful; he will not let you be tempted beyond what you can bear. But when you are tempted, he will also provide a way out so that you can endure it."
2 Peter 1:3-4 "His divine power has given us everything we need for life and godliness through our knowledge of him who called us by his own glory and goodness. Through these he has given us his very great and precious promises, so that through them you may participate in the divine nature and escape the corruption in the world caused by evil desires."
James 4:7-8 "Therefore submit to God. Resist the devil and he will flee from you. Draw near to God and He will draw near to you."
Romans 8: 1-14
There is therefore now no condemnation to those who are in Christ Jesus who do not walk according to the flesh, but according to the Spirit. For the law of the Spirit of life in Christ Jesus has made me free from the law of sin and death. For what the law could not do in that it was weak through the flesh, God did by sending His own Son in the likeness of sinful flesh, on account of sin: He condemned sin in the flesh, that the righteous requirement of the law might be fulfilled in us who do not walk according to the flesh but according to the Spirit. For those who live according to the flesh set their minds on the things of the flesh, but those who live according to the Spirit, the things of the Spirit. For to be carnally minded is death, but to be spiritually minded is life and peace. Because the carnal mind is enmity against God; for it is not subject to the law of God, nor indeed can be. So then, those who are in the flesh cannot please God.
But you are not in the flesh but in the Spirit, if indeed the Spirit of God dwells in you. Now if anyone does not have the Spirit of Christ, he is not His. And if Christ is in you, the body is dead because of sin, but the Spirit is life because of righteousness. But if the Spirit of Him who raised Jesus from the dead dwells in you, He who raised Christ from the dead will also give life to your mortal bodies through His Spirit who dwells in you.
Therefore, brethren, we are debtors—not to the flesh, to live according to the flesh. For if you live according to the flesh you will die; but if by the Spirit you put to death the deeds of the body, you will live. For as many as are led by the Spirit of God, these are sons of God.
1 John 2: 1-10
My little children, these things I write to you, so that you may not sin. And if anyone sins, we have an Advocate with the Father, Jesus Christ the righteous. And He Himself is the propitiation for our sins, and not for ours only but also for the whole world.Now by this we know that we know Him, if we keep His commandments. He who says, “I know Him,” and does not keep His commandments, is a liar, and the truth is not in him. But whoever keeps His word, truly the love of God is perfected in him. By this we know that we are in Him. He who says he abides in Him ought himself also to walk just as He walked.
Brethren, I write no new commandment to you, but an old commandment which you have had from the beginning. The old commandment is the word which you heard from the beginning. Again, a new commandment I write to you, which thing is true in Him and in you, because the darkness is passing away, and the true light is already shining. He who says he is in the light, and hates his brother, is in darkness until now. He who loves his brother abides in the light, and there is no cause for stumbling in him."
Jude 1:22-26 Now to Him who is able to keep you from stumbling, and to make you stand in the presence of His glory blameless with great joy, to the only God our Savior, through Jesus Christ our Lord,be glory, majesty, dominion and authority, before all time and now and forever. Amen."
Everything that I have stated here is completely scriptural and doable. I strongly suggest doing a word search on both sanctification and consecration in your bibles and / or bible software since this is what it is that you are seeking.