When people share their problem with you,
don't start complaining about yours.
You don't have to make them feel that their problems are small infront of yours.
Just listen to them patiently cause they might not want solution to it,
rather want some supportive company who understands them.
They just want to hear some kind words and want some strength to deal with their problems.
Understand them and always be kind.