The sacrament of Penance is a whole consisting in three actions of the penitent and the priest's absolution. The penitent's acts are repentance, confession or disclosure of sins to the priest, and the intention to make reparation and do works of reparation.
Source: Catechism of the Catholic Church (Vatican.va)