Put this in your thoughts, decide whether the relationship is worth saving. While almost every relationship can be saved. Both parties must decide that they want to try to make it work. If one of the partners has opted out and doesn’t want to opt back in, there is little hope that it can be done.
Staying in a relationship because it is convenient or remain in a marriage because of the children. Is now the right thing to do. How to save a relationship starts with a commitment by all parties that the relationship is worth saving.