The most important thing is not to make them feel as if their sentiments are insignificant. You should also avoid giving them unhelpful advice that will just serve to intensify their sentiments and reinforce their suicidal ideas. Instead, pay attention to what they have to say and gradually convince them that their lives have worth.