Training the Heart to Do Good

The heart of a person can be equally good or bad. We have a choice to make - a good heart or a bad heart. How do we choose to do good? How do we create a pure, clean heart?