The Act of Contrition prayer:
O MY GOD, I am heartily sorry for having offended Thee, and I detest all my sins because I dread the loss of Heaven and the pains of Hell; but most of all because they offend Thee, my God, Who art all-good and deserving of all my love. I firmly resolve, with the help of Thy grace, to confess my sins, to do penance, and to amend my life.[1] Amen.
http://catholictradition.org/prayers1.htm#CONTRITION1
[1] “to sin no more, and to avoid the near occasions of sin” — this phrase was in the version I learned as a child.
That is an excellent prayer.
Thank you for sharing that.