What do i do if my friend is suicidal?

What can i do if my friend is sending me texts like my life is over i want to die.. ? i’m scared she’s going to do it.