Imam Khomeini sheds the light on the matter as following:
After stipulating about his acts, man should enter this stage. It is essential that throughout the period of stipulation the mujahid struggling against his own self should constantly concentrate upon his actions.
If any time any idea of violating Divine commands occurs to him, he should know that this idea has been instilled into his mind by the Satan and his allies, who want to deter him from his good resolutions.
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.
Read more: