Three conditions are necessary for Penance: contrition, which is sorrow for sin, together with a purpose of amendment; confession of sins without any omission; and satisfaction by means of good works.
The Aquinas Catechism (ed. Sophia Institute Press, 2000) - ISBN: 9781928832102