I’ve heard there are pre-marriage counseling programs that might be helpful to give the marriage a better shot at working. Have not had direct experience with them...just knew a young man going through one and he seemed to think it was a good program.
My wife and I did that with our minister. We even took a "compatibility test", which was a series of questions. There was no right or wrong and the test wasn't to see if we should get married. It was designed to get a number of subjects discussed that young people might not think of. I was glad we did it.