Im worried about a friend and I need advice

So I’ve been friends with this girl for 6 years .. and she’s constantly posting things on iG about how sad she is and about how she doesn’t want to live and I’m so scared she might hurt herself but I don’t know what to do ... i don’t know how to approach her about this . Anyone with any advice for me ?