To have true repentance you must be truly sorry for your sins. You will turn away from them and turn to God. God is the only one who can forgive sins. David found this out when Nathan the Prophet spoke to him.
Find out how God forgives David for his sinful action and how we need God’s forgiveness too.