Before going to your confessor, you must say to yourself before God:
Lord, help me to sincerely repent
bearing in mind that without the grace of the Holy Spirit, we will not be able to repent as we should.