How do you get over a person?

My ex and I’ve been broken up for several months now. We coparent very well. Sometimes I wish he would’ve changed and we could’ve had our family together. But I had to leave due to him cheating all the time. It was tearing down my self esteem and making me emotionally weak. Do you ladies have any tips on getting over an ex? And don’t suggest dating or anything along those lines because I have two young babies and I don’t care to date for a long time.