1 John 1:9 says, "If we confess our sins, he is faithful and just and will forgive us our sins and purify us from all unrighteousness." For a Christian, under Salvation, this confession is an admittance of wrong and apology wrapped in one. The rest of the verse is the pointing to The Cross to re-assure the believer that every sin - past, present and future - has been paid for by Christ and will accept our apology. An example prayer based on this verse could go like this, "Lord, I confess I have done you and others wrong recently. Please accept my apology. I believe you have forgiven me at The Cross and even now. I thank you for your forgiveness in Jesus' Name, Amen."
Solomon said in Proverbs 28:13, "Whoever conceals their sins does not prosper, but the one who confesses and renounces them finds mercy." Notice the status of child of God or believer of God is not revoked because one sinned or concealed their sin. Instead, God's blessings and favor are withheld - "does not prosper". However, on the flip side - "the one who confesses and renounces them [mistakes against God and others] finds mercy". Favor, blessing and mercy remain with the one who recognizes, admits and corrects the wrong they have done God and others in their life.
To aide in this effort, James 5:16 says, "Therefore confess your sins to each other and pray for each other so that you may be healed. The prayer of a righteous person is powerful and effective." Accountability to brothers and sisters in Christ is a powerful tool to keep Christians on the Straight-and-Narrow. James not only says to confess our wrongs or mistakes one to another, but we are too pray for each other SO THAT healing might come to that situation. Then James adds to the prayer suggestion - "The prayer of a righteous person is powerful and effective." There is the consulting God part, even as a duo or group confessing their mistake.
This is not a directive to sway or teach someone to be more conscience of their sins (sin conscience). It is a Notice to the believer in Christ that when you feel that prick in your spirit or gut that something is not right about your own behavior, words or thoughts - pause and consult The Lord. If you find you need help, consider developing a close relationship of trust with someone you can call your Accountability Partner. But know that after recognizing there is an issue, there is the cleansing of the soul; the great sigh of relief; the part of Confession.