How do you console?

When your SO is stressing out about something and retreats from talking to you, what do you do to try and make things better?