Roman Catechism 19.141

Chapter 19 — Part II: The Sacraments — Penance

Section 141. By the same name is called any sort of punishment endured for sin, although not imposed by the priest, but spontaneously undertaken and performed by ourselves.