Being a good listener
If you are worried about a friend, or they come to you to talk, be a good listener. Hear them out, without interrupting, giving your opinion, or telling them about your experiences. Check from time to time that you have understood what they are saying. Rather than offering advice, let them work things out for themselves as they talk. If you need more information to help them, or are worried things are getting serious, get advice yourself.