Hi there
(Sorry this is long...)
I'm so sorry for your friend, it's a dreadful time. I went through this at 21 weeks in March. By far and away the thing I found most helpful was finding other people who had gone through the same thing - I guess it's the shared understanding. I found Mumsnet immensely helpful, and also ARC (Ante-natal Results and Choices) - though you don't say where your friend is so these may not apply.
We also received a huge amount of cards and letters from friends and family, which was lovely.
I was also hugely lucky with my DH, and really he and I got through it together.
The other thing I really appreciated were people who treated me normally and allowed me to get on with things, rather than treating me with kid gloves. Personally I didn't want to talk about it a great deal to everybody, and went back to work after 4 weeks, but I did hear of somebody who went to bed for 6 weeks after something like this so it is whatever is right for the particular person I guess.
I also tried counselling, but it didn't really work for me, though I do know people for whom it's been quite good. You do need to find exactly the right person though.
When you go through something like this there is a huge conflict between head and heart, because what you are doing goes against every instinct you have, and there are some bits of it that will never be OK. Having said that, what somebody said to me that I found really helpful was that if you are going through this experience, everything you are doing is out of complete love for your child. It doesn't make it better, but there is truth that I found comforting in that thought.
All I can say from 5 months on is that it does get better. It's not a totally smooth upward curve, but at some point you do find yourself on the other side.
Anyway, hope this helps vaguely, do feel free to ask any other questions.