How to survive the satanic temptations?

SHAFAQNA – Ayah 201 of Surah Al-A’araaf says: The pious ones bear it in mind that whenever they are encountered with Satanic temptations, they remember (God and divine rewards and torments) and (with remembering God, they see the true path and) suddenly they can see.