Flee From It
When temptation comes we have a couple of options besides giving in. One is to flee it.
1 Corinthians 6:18
"Flee from sexual immorality. Every other sin a person commits is outside the body, but the sexually immoral person sins against his own body."
1 Corinthians 10:13
The temptations in your life are no different from what others experience. And God is faithful. He will not allow the temptation to be more than you can stand. When you are tempted, he will show you a way out so that you can endure.
Another option is . . .