A loved one passing away

se

What should I do with the knowledge that a loved one has passed away? I don't know how to react and I simply just want to be left alone but also want company. No one told me all day and I went to work without the knowledge that everybody knew. I feel like an idiot now.