Let me tell you a short story.
I know someone who was active in the Church coaching the baseball team, teaching CCD, Cub Master and Holy Name Society.
He was married 15 years and had 3 children.
His wife divorced him in 1972 and the husband was devastated.
He had a hard time because he went from living with his parents to living with a wife and children and then he lived in a one room furnished room. He thought he would be reconciled but it never came about.
He never remarried although his wife did.
He sinned as much as the next person and did not participate in the Church as he once did, not so much for his own or the Church's philosophical reasons, but more for becoming caught up in the secular world.
After missing confession for many years several things happened to him. He was brought to his knees on one occasion and it was at that time the Holy Spirit made this person get to confession. He had contacted his cousin through the computer. The cousin was like a brother. He had not seen his cousin in 40 years and the cousin was dying of cancer. Our Lord was working to get this person to heaven. It was at this time this person began to pray for his cousin and the souls in Purgatory.
After 35 years of being away form his wife, the priest told him the first thing to be done is to forgive his wife and the Lord would forgive him.
It worked and the person is now back again contributing to his faith.
The first question the priest asked this person was "Were you married again". Divorce does not keep you from the Church or the Sacraments. Re-marriage does as you are living in sin.
One must stay single and celibate and one should get to confession as soon as possible. I pray the Holy Spirit help you as He helped me.
"After 35 years of being away form his wife, the priest told him the first thing to be done is to forgive his wife and the Lord would forgive him. "
I did that a long time ago. It was just not a good example for three children. It has been 33 years and I still wish I could have done better for them