Need Some Advice

I’m 18 weeks pregnant with my first and last night I found out my boyfriend/baby daddy is miserable with me but I’m lost without him... any advice? Anyone else go through shit like this before?