how can i keep my self come?

i'm 11 weeks pregnant this is my second kid and me & my husband are getting a divorce and i just can't keep my self out of the problem i know we could of had a solution to this problem but he didn't want it to try to work it out so all i do is cry n cant sleep i know is not good for the baby so what can i do? i just need someone to talk to😥😥