Jesus Christ spent forty days in the desert. As we know from the story, he was tempted greatly there by Satan. How did Jesus respond? He spoke the Word of God. Each time Satan tried to lure Jesus into sin, Jesus responded by verbally quoting the Scriptures. Satan eventually gave up.
This is the model that Jesus has illustrated for us.
When we are tempted we can respond by quoting the Word of God. However, in order to do that successfully, we have to know the Word. Bible verses should be memorized that we can quote on a dime. Spending time reading the Bible every day is vital to our success.