How To Deal With Temptation

Temptations will come and God has said that He will always provide a way out. What is that way? Do you struggle with temptation? When it comes what should we do?