If you have sinned, you should tell each other what you have done. Then you can pray for one another and be healed. The prayer of an innocent person is powerful, and it can help a lot.
“LORD All-Powerful, I am your servant, but I am so miserable! Please let me have a son. I will give him to you for as long as he lives, and his hair will never be cut.”