Solomon spends the majority of chapter 7 describing in detail the downfall of a man who surrenders to the temptation of a woman (Proverbs 7:6-27). He goes in great detail of the evil that besets the young man based upon his gullible acceptance of her temptations.
When I read of the description, I go back to the opening verses above. How did the young man fall into such temptation? It all starts with him passing by her house. And we do the same today. We are well aware of the evils that we should avoid. But we reason that we are capable of resisting them and it won't harm us just to "pass by" or be in the vicinity of such activities. However, the longer we are around them, the less evil they seem. And soon enough, we are justifying our actions by saying that "everyone does it" or "it's not a big deal". Before we know it, we are knee deep in the filth of the world.
The best defense against falling victim to such temptation is to stay away. Paul warns us in 1 Thes 5:22 to "Abstain from the appearance of all evil". He didn't say to not partake in evil but even the appearance of evil. So I encourage you to steer clear of evil lest the temptation over comes our good intentions.