How to comfort a friend?

G

I only got the news yesterday that my friend had a miscarriage the other day. I’m so sad for her and her family but I don’t know how or what to say to her.

What would you want to hear?