The first step you need to take to gain victory over sin is to flee from whatever is tempting you. Don't play with it, or toy with it in your mind; get as far away from it as possible. I have known of people who had to change jobs to keep away from something(someone) that was tempting them to do wrong! But it was the only way to win over sin.
What step(s) do you need to take to overcome temptation in your life?
" Flee the evil desires of youth, and pursue righteousness, faith, love,and peace." 2 Timothy 2:22