Helping hand/friend

Hey guys,I have never had a miscarriage but recently found out my friend has just had one and I really want to be able to be there for her in the correct way and know what to say, would anyone be able to drop some advice? I want to be a good friend in the best way possible and don't know exactly how to help or what to say