Marriage takes two. No one spouse is entirely responsible for the marriage losing its functionality. Take responsibility for your part.
You can’t control your partner; you can only control what you do and how you act. The divorce process brings upset. Be aware of this. Observe your conduct. Be aware of your emotions. Refrain from reacting in an inappropriate manner to things that your spouse says or does. Listen to them without firing back. Wait until any emotional storms have passed and then think rationally about opportunities and consequences before determining what to do next.
Maintain your dignity and your children’s dignity. Besides observing your own thoughts and feelings, acting appropriately, and reacting appropriately, remember to preserve your children’s dignity. That means you don’t talk negatively about their other parent. The children come from both of you. If you insult the other parent in front of the children, you are insulting half of your own child. They will grow up to resent you, not the other parent. A dignified approach is much more productive than being nasty.
Deflect rude or invasive comments from other people about your spouse or your divorce. No need let other people fan the flames and add to the drama.
Take care of yourself. Get plenty of sleep. Exercise. Eat nutritiously. Meditate. Reinforce your spiritual connection. Maintain communication with your support network. Going through the divorce process distracts us from these healthy behaviors but this is the time you need to take care of yourself the most.