Advice needed!

Two weeks before I found out I was pregnant my husband told me he actually didn’t ever want kids and only told me he did when we discussed it before marriage to make me happy.

Almost two months ago now he walked out and never came back - didn’t answer phone calls or texts.

I’m now 18 weeks and planning my life as a single mom. I haven’t had any contact with him other than a random Facebook message saying he wanted a divorce and since this is his kid he wants to be apart of it’s life.

My question is how and when do I tell him about the baby being born when that time comes and how do I go about letting him visit. Currently I can’t handle any type of contact with him (not that’s he’s reaching out) while I’m trying to heal myself and prepare for the baby. But as much as I hate him right now for breaking my heart and walking out I don’t want to be the kind of person who stops their child from having a healthy relationship with their father.

Any advice is welcome. Thank you in advance :)