You can try to foresee situations in which temptations could likely present themselves and decide how you can avoid them.
حَدِّدِ ٱلْأَوْضَاعَ ٱلَّتِي تُعَرِّضُكَ لِلْإِغْرَاءِ وَفَكِّرْ كَيْفَ تَتَجَنَّبُهَا .‏