The Holy Spirit is present when we confess, and its action goes a long way. As long as you trust your confessor and also understand that you speak to God through him and God delivers you from your sins through your confessor.
When your soul is sick, you disinfect its wounds by Communion. It can hurt. The Lord may grant comfort and joy one time and you may have to withstand a spiritual battle the other time and feel depressed.
We do not talk with the priest when we confess, and neither does the priest tell us anything from himself. We talk to God with the priest as a witness of our repentance.
When one comes back to the Church after a long absence, the priest ought to help that person and support him or her because it’s quite challenging to cross the threshold of the church, to confess and take Communion again.
An individual receives graceful help during a confession, which empowers him or her to struggle with sins and try abstaining from them. That’s why you shouldn’t doubt and worry: go and confess as soon as you can.