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.
If we prefer not to empty out all we possess for the love of God, let us at least not callously hold on to everything ourselves. Let us do something, then humble ourselves before God and obtain forgiveness from Him for what we have failed to do. For His love for mankind makes up for our omissions...
He who stands by a fire is warmed by it, and he who turns to the Lord with his mind and heart is warmed by the fervor of His love, and himself begins to return a warm disposition towards Him...The love of God is shed abroad in our hearts... (Rom. 5:5).
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.