It is very important for you to know that people will forget what you said, and people will forget what you did, but people will never forget how you made them feel! Many of us have friends, or family members, which might not be in a very good situation right now, or maybe in a bad mood, and we want to do something to help them but we don't know how. So here are some tips on how to make them feel good towards themselves, and of course towards you, also. Lets start :)
1) Continually ask them what do they really want - Let them talk about their interests! If they start talking about something that they are very interested or enjoy doing, don't interrupt them, listen to them with all your heart. Try and understand how they find beauty in doing those things, try to be as enthusiastic as they are! If they say something about a dream they always had and wanted to achieve, try to find some ideas that might help on that, or even talk about how amazing it is to have a goal in life and to devote your energy entirely to that.
2) Have a heart talk - Ask them if they have something they need to talk about with you, a problem or something stressful that might be happening in their lives. Be there for them! Let them express their anger, or fear, or whatever they're feeling. Listen carefully and try to let them know that they can always count on you, share with your whatever they need to share and gain help from you whenever you can give it to them. Show them the beautiful things life offers to us, express your positiveness, let them know what they are missing!
3) Find a way to help them - This is for sure a difficult task to fulfill, but it has amazing result if it's done properly. Connect with them, see what are they really missing, and devote yourself on helping them to get it. Gain their trust, so that they can let go of the stress they've been keeping inside all the time due to the fat that they feel alone in this situation. But be careful, do not make empty promises, because that can ruin you entire relationship with the person.
4) Empower them by empowering yourself - You're helping someone you care about, so you need to be focused entirely on them. In this period of time, do not stress yourself with things that you can take care later in time. Also try and be positive about your friends situation, in other words, always think that you will succeed on helping them out.