If you are a friend of Christ you should have as friends persons who are of benefit to you and contribute to your way of life. Let your friends be men of peace, spiritual brethren, holy fathers. It is of such that our Lord was speaking when He said: 'My mother and brethren are those who do the will of My Father who is in heaven.' (cf. Matt. 12:49-50).
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.