Anyone been through this?

So my husband and I been having problems and he decided to leave we have a unborn child due January 2018....how did you raise your newborn on your own?