Confessing and Repenting

Confessing and Repenting

Is there any connection between confessing sin and repenting of it?