This question already has an answer here:

In Catholicism and Orthodoxy, forgiveness of sins is only attained at the Sacrament of Penance. What then is the role to pray that God would forgive us our sins? Why pray Our Father, or ask of this at the liturgy?

marked as duplicate by Geremia, Lee Woofenden, KorvinStarmast, Ken Graham, Dan Apr 20 '18 at 20:02

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.