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.
The practice of the prayer of Jesus holy David, or more accurately the Holy Spirit by the mouth of David, offers to all Christians without exception: 'The kings of the earth and all people, princes and all judges of the earth, young men and maidens - let elders with the young praise the name of the Lord, for His name alone is exalted (PS. 148:11-13).' A literal understanding of the states enumerated here would be perfectly permissible, but their essential meaning is spiritual.
The heart which is constantly guarded, and is not allowed to receive the forms, images and fantasies of the dark and evil spirits, is conditioned by nature to give birth from within itself to thoughts filled with light. For just as coal engenders a flame, or a flame lights a candle, so will God, who from our baptism dwells in our heart, kindle our mind to contemplation when He finds it free from the winds of evil and protected by the guarding of the intellect.
In the evening, on going to sleep (an image of death for the life of that day); examine your actions during the day that has passed. Such an examination is not difficult for one who leads an attentive life, because attention destroys that forgetfulness which is so characteristic of a distracted person. And thus, recalling all your sins in deed, word, thought and feeling, offer repentance over them to God with the disposition and heartfelt promise of correction.
In order to remain in vigilance, it is necessary to guard the freshness and brightness of the mind with all care. The mind becomes darkened from imprudent use of food, drink and sleep, from much talking, from distraction and from worldly cares. Attend to yourselves, said the Lord, be on your guard and take care that your hearts are never weighed down, dulled and depressed by self-indulgence, overeating and drinking, or worldly cares and pleasures, lest that day (the day of Christ's dread judgment, the last day of the world) catch you unawares. For it will spring like a trap upon all who are living on the face of the earth. So watch and pray at all times for the strength to escape or survive all that is going to happen, and to stand before the Son of Man.
Just as it is impossible to cross the sea without a boat, so it is impossible to repulse the provocation of an evil thought without invoking Jesus Christ.
If we use all means and all efforts to avoid death of the body, how much more must we seek to avoid death of the soul. For there is no obstacle for a man wishing to be saved, except negligence and laziness of soul.
Every tribulation reveals the state of our will, whether it inclines to the right or to the left. An unexpected tribulation is called temptation, because it subjects a man to a test of his secret dispositions.
The abstinent withdraws from gluttony, the uncovetous from covetousness, the silent from wordiness, the pure from attachment to sensory pleasures, the chaste from fornication, he who is content with what he has from love of money, the meek from agitation (anger), the humble from vanity, the obedient from objection, he who is honest with himself from hypocrisy; equally, he who prays withdraws from despair, the willing pauper from acquisitiveness, he who professes his faith from denying it, the martyr from idolatry – so you see that each virtue, performed even unto death, is nothing but withdrawal from sin; and withdrawal from sin is a natural action, not an action which could be rewarded by the kingdom.
He is not yet a faithful servant who bases himself on bare knowledge alone; a faithful servant is he who professes his faith by obedience to Christ, Who gave the commandments.