The only ordinary way of attaining forgiveness for sins is participating in individual and integral confession and absolution. Nonetheless, if a person is unable to meet with a priest for the Sacrament during this pandemic, it will suffice for the moment to pray an Act of Contrition as best one can intending it truthfully, and to commit to participating in the Sacrament of Reconciliation as soon as possible when conditions allow.
ACT OF CONTRITION
I am sorry for my sins with all my heart.
In choosing to do wrong
and failing to do good,
I have sinned against you
whom I should love above all things.
I firmly intend, with your help,
to do penance,
to sin no more,
and to avoid whatever leads me to sin.
Our Saviour Jesus Christ
suffered and died for us.
In his name, my God, have mercy.
(Act of Contrition was taken from the Canadian Conference of Catholic Bishop’s website cccb.ca/site/index.php?option=com_content&view=article&id=2335&Itemid=1226&lang=eng )