Last year the post that received the largest number of hits was the renunciation of sexual sins prayer. I adapted it from one that I found ten years ago on the web, and I do not know who wrote the original. This is a good place to start, but I think this prayer is most effective when you pray it in the presence of someone else, and have them pray for you. The only way you can get free from sexual sin is in relationship to others. I recommend getting in contact with Desert Stream Ministries if you are struggling.
RENUNCIATION OF SEXUAL SINS
Heavenly Father, I come to you in the name of the Lord Jesus Christ.
He is the Son of God who takes away the sin of all those who repent and confess him as Lord.
The blood of Jesus cleanses me from all sin. I claim freedom from all sin of a sexual nature that came through my eyes, ears, mind, or through sexual activity.
In particular, I confess all preoccupation with sensual desires and appetites, all longing for that which is forbidden, and all unnatural affections, all unrestrained passions and lusts, and all activities that produce lewd emotions or foster sexual sin. I further confess all filthy communication, obscene and filthy language, course conversations and jokes, lewd and obscene music, poetry, literature, and art; all forms of pornography, all acts of sodomy, adultery, immorality, fornication, masturbation, gender confusion, or homosexuality.
I also confess all affection for and attachment to philosophies, religions, and lifestyles which glorify, promote, and condone sexual conduct contrary to the clear reading of Scripture.
I further renounce the promotion of non-Biblical sexual attitudes and lifestyles in art, literature, mass-media, and public attitudes and practices. Lord, I ask that your Holy Spirit reveal to me the other areas where I have allowed demonic torment through sexual sin.
In the name of Jesus Christ, I command all unclean spirits to come out of me now. I break all unholy soul ties and ask you Lord to return to me all that was lost through sexual activity.
Jesus Christ became a curse for me on the cross (Gal. 3:13). I declare all curses over my life, through my sin, or the sin of my ancestors to be broken in Jesus’ name. I hereby rededicate my body, mind, soul, and spirit to you Lord Jesus Christ, to be used for your glory alone. I also give you my will, emotions, and affections, to be controlled by your Holy Spirit. I choose to avoid the near occasion of sin, and to live an upright life. Amen.