Begin by reading and meditating on Proverbs 4:23.
The call to keep your heart is a call to work on your life internally, not merely externally. …God is first and foremost concerned with your heart, for when you are keeping your heart, the rest of life follows.
To keep your heart means that your focus and work is on maintaining communion with God and pursuing the transformation that only God can accomplish in you. It is not performance-based religion, nor the moral improvement of your life, but the ongoing work of cultivating love for God and hatred for sin. It is the unending effort of guarding ourselves against idols while resting in the promises of the gospel.
To keep your heart is your primary business as a Christian, and it cannot be done with passing interest or any small amount of energy. It requires the consistent use of all the means of grace. You must make the most of worship, Scripture, prayer, and the church gathered in all its forms with an aim at keeping your heart and growing in grace. If you are doing anything less than this, you are keeping up appearances, but not your heart. And you know that the heart is what God is primarily interested in (Ps.51:16-17) – hearts that are broken over sin, healed by God’s forgiving grace, and consequently filled with love for our Redeemer God.
Taken from Chap.29 “Keep Your Heart” (found in Part Three, “The Gospel and You”) in Note to Self: The Discipline of Preaching to Yourself by Joe Thorn (Crossway, 2011), pp.97-98.