Ye Shall Offer For a Sacrifice unto Me a Broken Heart and a Contrite Spirit

Christ teaches the descendants of Lehi (who were living in the Americas shortly after His death and Resurrection) that He has fulfilled the Law of Moses and that physical blood sacrifices were to be replaced with a new kind of sacrifice.

“…Ye shall offer up unto me no more the shedding of blood; yea, your sacrifices and your burnt offerings shall be done away, for I will accept none of your sacrifices and your burnt offerings. And ye shall offer for a sacrifice unto me a broken heart and a contrite spirit. And whoso cometh unto me with a broken heart and a contrite spirit, him will I baptize with fire and with the Holy Ghost…” (3 Nephi 9:19-20)

Questions:

– How does one offer a broken heart and a contrite spirit to God?