CCC 1785 In the formation of conscience the Word of God is the light for our path,1 we must assimilate it in faith and prayer and put it into practice. We must also examine our conscience before the Lord’s Cross. We are assisted by the gifts of the Holy Spirit, aided by the witness or advice of others and guided by the authoritative teaching of the Church.2

1 Cf. Ps 119:105.
2 Cf. DH 14.