Empathy is basically putting yourself in the other the person’s shoes or looking at their troubles through their eyes. Showing that you care by asking a few questions and relating to their problem can help. And by saying “I'm here for you if you ever need me!” and meaning it, can be comforting for them to know.
Sympathy and empathy can be easily confused with each other. Sympathetic people feel sad and care but don’t do anything about it. It’s like saying, “Oh...I heard what happened...I hope you get over it soon”.
Basically, like I said before empathy is like looking at their troubles through their eyes. If everyone were to empathise anyone that needed it at any time, wouldn't the world be a happier place?