What was the Roman Catholic Church's answer to this question?

a keeping the sacraments and living a good life
b reading the Bible more frequently
c confessing your sins to a priest
d living a good life and hoping for the best when you die