Please help, moms who went through divorce

I just need some advice and words of wisdom and strength. My husband and I have been talking about divorce, neither of us are happy and I know it’s affecting our daughter. Moms who got divorced with kids / kid around age 4...what did you tell them? How did you explain all the change? What kind of custody arrangement do you have? How did your little ones handle it? Are they ok?