How to treat depression in pregnancy?

Hey mom’s, I’m currently 33 weeks pregnant with my first baby. I’m having really bad depression problems lately which I think the majority of it has to do with my baby’s father. My entire first trimester and majority of my second he was not here at all, he’s been coming around more often and comes sleep at my house with me like every other night but has yet to buy one thing for the baby and anytime I break down about stressing her arrival or for any reason, he’s never here for me to talk to. I feel so lost and alone and I really don’t know what to do. I have crazy love for this man, advice ??