this is coming from someone who has experience with this!
make sure you are sure they might have one. next, confront them about it. but not angrily. don't scare them, tell them they are sfae with you.
have them tell their doctor, or a safe adult, or send them some online therapists. (not everyone is comfortable with face-to-face)