One of the effects of sin in our lives is to keep us from feeling like praying.
But perfect moral behavior is not a condition for prayer.
No matter how long you have been away from God, He is ready to hear from you and restore you to a right relationship.
Every situation can be salvaged if you are willing to turn again to Him.
Selah.