Please read For Victory over Temptation, by Charles Swindoll, Insight for Living, at One Place.
"Lord, because You don't save us and then suddenly take us home to heaven but leave us here on earth, hear us as we ask You to bring to our attention those things that will assist us in staying clean in a corrupt world. Give us an intense distaste for things that displease You. At the same time, give us a renewed pleasure in things that uphold Your honor and magnify Your truth. As You do this, we will have what we crave: victory over temptation.
"We ask this in the name of Him who consistently and victoriously withstood the relentless blast of the Devil's temptations, Jesus our Lord. Amen."
No temptation has overtaken you but such as is common to man; and God is faithful, who will not allow you to be tempted beyond what you are able, but with the temptation will provide the way of escape also, so that you will be able to endure it.
1 Corinthians 10:13