Once the reality of the positive pregnancy test sets in, dreaming about the yet-to-arrive begins. Curiosity about gender, options for names, ways to manage, shopping ideas, etc., begin to get discussed. And then totally out of the blue the news comes that there is a miscarriage. This is one of the most depressing phases. It is very important for the family to be around and support each other. While the entire family is upset and hurt over the news, the mother needs most care as there is just not emotional but a huge physical component also to the episode. On the other hand, remember that miscarriages are extremely common, and is no indication of a fertility issue.
The first step would be to diagnose and confirm the miscarriage. After that, depending on whether it was complete or incomplete, some medical intervention might be required. In most cases, medications like misoprostol are given to expel the uterine contents. These help by clearing out the contents in about a couple of days' time. In some cases, a D and C might be required if your doctor suspects that medication will not suffice. This also helps identify if there is any issue in the uterus that could have caused the miscarriage.
While the above takes care of the physical part, the emotional component also requires cautious management. Needless to say, this is trickier than the earlier one.
As much as it is painful and traumatic, it is not very uncommon or unnatural. Get back on your feet, the sooner you do, the better.