Just depressed

My kids dad and I are divorcing. I served him because I was tired of the threatens. Now he has "friends" claiming during our marriage I had sex with them. I didn't kissed one. Helped the other out by picking him up. He has hurt me so much trying to make it okay for all the cheating he has done and the affair that ultimately destroyed us. I thought maybe before the year is up he would get the help he needs for PTSD but he is not. Instead he just wants to find things to hurt me. Instead of dealing with everything I am shutting down my anxiety, depression and desire to cut. Which I guess is good but if I didn't have my kids I would die right now .... I am just a shell of a person