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. - James 5:16
Prayer works if you know how to unleash it.
James shares the secret to make your prayer life powerful... and effective. That secret is your own confession, first.
In other words, get honest with God and don't pretend to be righteous if you aren't doing the work.
Once you clear the air and get real - the prayers you pray for self and others can be powerful and effective .
Take a few minutes and confess those mistakes to God.
GO DEEPER: 2 Chronicles 7: 13-16