Penance can be expressed in many and various ways but above all in fasting, prayer and almsgiving.
From the Compendium of the Catechism of the Catholic Church
Question 301 Penance can be expressed in many and various ways but above all in fasting, prayer and almsgiving.