I don't know what to do

Just a heads up, this has a good bit of run on sentences and I don't know how to tag the tmi warnings, so there is talk of miscarriage...

So... the long story short is I recently got out of a long term, serious relationship. The break up got really messy, where I behaved in an immature way and let my moods go wherever and he went from leading me on for the week after, saying things about us getting back together and all that, before behaving like a dick and blocking me everywhere when I called him out for basically talking shit about me to one of my best friends (which she promptly filled me in on that conversation, which is how I knew, I fucking love that girl).

Anyhow...

So go forward a week, I'm going through my finals so I can go home for the month, stressed as hell, figured my period was late because of the whole shitstorm going on plus finals and all the other stress. Until other symptoms started showing up. And so did a positive test.... yeah.

A couple days ago, I went in for a test at the doctor's, except I started bleeding AT the fucking clinic. Well fast forward through the appointment. I had an early miscarriage... which I really don't know how to react to, and I haven't yet. I don't think so anyways... I just felt kind of empty. Not a negative empty. Just a kind of there empty. I don't want kids, and the dad had taken himself out of the picture, and I've yet to talk about it with anyone I know.

Which leads me to today... LDOC and I came back from dinner to take a nap. I wake up a little past midnight and I see my ex has messaged me and added me back on stuff. He wants to be friends again, and I agreed because I really do value the way we got along before the whole mess and I do want him in my life.

Here's where the problem is:

A couple days ago, I literally just... yeah. I don't know what to do. I'm scared, because I know that I should tell him. I don't know how to do it though, and I want to talk with my closest friends about it and sort of work out how the fuck I feel about the thing from a couple days ago first. I don't want to tell him before I've even fully processed it. But I also don't want to message my friends about it, because I don't think it's a conversation I could handle long distance. I know I need to talk to them in person, because I feel like once I do, I'm going to break down. I won't be able to see them for another week though because of our schedules.

...

I guess I'm just here wondering how I should tell my ex. If I should tell him. If this is something I should even be upset about. I mean, it was an early early one.... and I don't know. I just know that I feel scared and alone.