How do you get through the nights

Now you’ve split up with your boyfriend of 9 years and your pregnant 8 months, how do I cope, can’t stop crying. It hurts so bad, he’s just gone he don’t care about me or the baby, how can he sleep at night,