Partner crying or someone you love crying

What's the first thing you do if your partner or someone you love is crying ??

Today my partner & I had a bit of and argument and I was crying feeling so upset and alone, I begged him to come and sit with me and that I needed him the most at that time and he went to walk out the door and didn't even care I was crying.. I asked him after that and he said I thought you needed space...