If someone's crying where I can see them, they clearly don't care if people know that they're upset or not.
I go and ask what's wrong, offer a hug and some support. Take their side, give advice, etc. Usually they just need someone to listen to them and tell them that they're okay and that everything's going to be fine.