Imam Khomeini sheds light on the subject in his famous book of "an exposition on Forty Hadith" as following:
He ought to curse them, and seek God’s compassionate protection, and banish those villainous ideas from the realm of his heart, and tell the Satan that this day also he has to abide by the condition imposed upon his own self that he would not go against God’s commands, as He is the One Who has provided him with all the excellences and bounties.
It is He, Who has given him the riches of health, security, and peace year after year in this world. In recognition of all God’s graces it is not sufficient even if he serves Him till eternity, let alone a trivial thing like this.
I hope, that Satan will be driven away, and the Divine forces will prevail. I assure you that this practice of self-criticism and self-examination would not hinder your day-to-day activity.
I advise you to remain in the same state of mind till night-the time for introspection and inner deliberation-and evaluate your deeds of the whole day.
This is the time to see whether you have been honest to the Giver of all, to whom everybody is accountable, Imam further explained.
If you have been faithful to Him, you should be thankful to Him, that He has made you successful in your intentions. And realize that you have gone a step forward in His direction and became an object of His attention.
God willing, God will help you in performing all worldly and religious duties, and will diminish your pains for the next day. If you repeat this many times, it is imminent that you will be accustomed to the acts of piety. You will see then that all this does not require you to make hard efforts.
Read more: