Oh you poor girl

I'm sending you a

across the skies...
The following is meant to be helpful, I hope it is at least a little.
Try not to panic, keep yourself warm and cosy, and have someone kind around if you can. Keep hydrated (cups of tea are warming and comforting) and eat when you can, and don't plan to do anything for at least a few days. Your body will ache and the changes in hormone levels will make you very emotional. Tissues and chocolate nearby help a tiny bit. All you can do is take something like paracetemol, and just ride out the storm.
It's a terrible thing to happen, but if miscarriage happens it's usually because there is a problem with the developing foetus, and your body has to protect you from a potentially very serious complication. It's not because of you or anything you have done.
I was at around 2-3 months when I miscarried, and it was like a very bad period. It started with bad stomach aches that went on for several days, and the bleeding was heavy. I bled on and off for several weeks afterwards, and after going to my doc was reassured by my him and a specialist that this was normal in the circumstances. I felt crappy for weeks to be honest. You have to take it very easy on yourself and let your body recover. Try to keep your mind busy even if your body is drained of energy. Of course you sit and sob and despair, and it's healthy to let all that emotion out, but when you can just read or watch films, anything that distracts you for a while.
You will get through this and smile again. There is an old saying: 'This too will pass', and you have to try to believe it, even in the midst of all your hurt.
I am thinking of you and hoping you are as well as you can be. I wish I could help, but I know it's one of those things where no one really can. PM me if u want to, I'll be checking in regularly.
Hang on in there
Bram.