Hey Andrew,
I'm sorry to hear that such bad news came out unexpectedly. Please try to calm yourself.
Try to breathe slowly, here is the link to one thread when Sam aka Sasuva explains two by four breathing for relaxing, I've found it as very powerful tool for calming down:
Maybe you could try to do it, I hope it will be helpful.
Maybe you could do some things that are calming for you like playing some music, walking in nature or spending some time in company of some friends?
When we are triggered heavily trying to ground self is good way to cope with all those emotions which could take us to flip from present.
Here is the article with some tips how to ground self, I hope it will be helpful for you to read it and maybe try some:
Hang on dear friend, here is my warmest hug for you

My story