It is actually not easy to encourage someone to move on with his life. Giving someone encouragement needs you to listen and understand well so that you will know what that person really feels.
Of course, you are also needed to show an image of hope to that person to ease up his anxieties. It is also helpful if that someone will have a log bed in his house.
Aside from sympathizing with that person who is really down, you should let him know also that whatever happens, there is always the God who plans everything. Everything will be okay when that person should turn to Him.