What if you cannot get to confession? Is being sorry enough?
Perfect contrition, sorrow that comes from loving God above all else, obtains forgiveness of mortal sin if it includes the firm resolution to go to confession as soon as possible. It does not remove the duty to confess.
Find confession times near youWhat the Church says
Catechism of the Catholic Church, paragraph 1452
“When it arises from a love by which God is loved above all else, contrition is called ‘perfect’ (contrition of charity). Such contrition remits venial sins; it also obtains forgiveness of mortal sins if it includes the firm resolution to have recourse to sacramental confession as soon as possible.”
“A person who is conscious of grave sin is not to celebrate Mass or receive the body of the Lord without previous sacramental confession unless there is a grave reason and there is no opportunity to confess; in this case the person is to remember the obligation to make an act of perfect contrition which includes the resolution of confessing as soon as possible.”
In plain words
The Catechism says contrition that arises from love of God above all else is called perfect. It remits venial sins, and it also obtains forgiveness of mortal sins if it includes the firm resolution to have recourse to sacramental confession as soon as possible.
Canon 916 says a person conscious of grave sin is not to receive Communion without confession unless there is a grave reason and no opportunity to confess, in which case an act of perfect contrition is to be made.
The Eastern Catholic Churches have their own law where it differs from the Latin Church (canon 1 of the Code says it regards only the Latin Church; the Eastern Churches follow the Code of Canons of the Eastern Churches). If you belong to one, ask your priest.
What to do
If you cannot get to a priest soon, make an act of contrition from your heart, and go to confession at the first opportunity. Find confession times near you.