The Catechism in Questions & Answers

231. How can this separation from God be undone?

In order to enter into the nearness of God, sin must be forgiven.

Forgiveness of sins: see Question 652.