The enemy of our salvation especially strives to draw our heart and mind away from God when we are about to serve Him, and endeavors to adulterously attach our heart to something irrelevant. Be always, every moment, with God, especially when you pray to Him. If you are inconstant, you will fall away from life, and will cast yourself into sorrow and straitness.
The way to attain compunction is an attentive life. ‘The beginning of repentance comes from the fear of God and attention,’ as the holy martyr Boniface says.
Compunction comes when you consider how much you have grieved God Who is so good, so sweet, so merciful, so kind, and entirely full of love; Who was crucified and suffered everything for us. When you meditate on these things and other things the Lord has suffered, they bring compunction.
Those who meditate unceasingly upon the holy and glorious name [of Jesus] in the depths of their heart can sometimes see the radiance of their own spirit-intelligence. For when the mind is profoundly concentrated on this invocation, we feel experientially how it starts burning off all the layers of dirt that normally suffocates the soul.
In detachment, the spirit finds quiet and repose for coveting nothing. Nothing wearies it by elation, and nothing oppresses it by dejection, because it stands in the center of its own humility.