What now? I've called and texted. Still no reply...

I don't want to be judged. But I found out I'm pregnant from my ex who has completely cut me off. (We broke up around the beginning of December). How do I tell him I'm pregnant? I'm 4-5 weeks. I have messaged him 3 times this week saying that I need to speak with him about something. I even called and left 2 messages. I didn't tell him I'm pregnant through text because I don't think that's the right way to tell someone.

If I can't get ahold of him to tell him will I get in trouble later on down the road? I'm more than willing to raise this unborn baby on my own. That's not a problem. But if he's not responding just in general do I just leave it and then it's just me and the baby?

I know he isn't dead or some shit because he's posted stuff on social media. Do I just say forget it and stop trying to get ahold of him or do I keep trying? And if I keep trying, for how long??