I am sorry to hear that, it's not an easy situation.
My approach in this kind of circumstances was usually to retreat and go into my "philosopher" mode, where I read, think, listen to music, daydream etc. You have to find some meaning that sustains you, and some philosophy of life that justifies the suffering. (This approach can lead to rumination and overthinking, which is not ideal, but I am just not the type that would go to a bar and "let it out" via drinking, fighting or something of that sort).
After a while, hopefully, you will put yourself back together and be a wiser and deeper person.