If you have a friend who always seems to moan about work, here’s how you can help