"Let's come up with a solution together."
Ultimately we want to help our children to develop problem-solving skills. Coming up with a solution that will help process their emotions teaches them how to look at the situation objectively and come up with possible solutions.
Maintain silence and hold loving space for your crying child. Be a pillar of empathy and strength for them.