Dealing with loss during pregnancy

Just found out about 15 minutes ago a good friend of mine passed away too fucking young, 20. I can't wrap my mind aroundthis, I cannot breathe because of crying, I don't know that's it doing harm or not? But I just can't control the emotion right now. This is too much, too many people I know are fucking dying from heroin and I don't know what to do anymore. Sorry for my language but I don't care right now. I just am so lost. After almost losing my brother 2 years ago from an overdose this death just hits too close to home because it was something that could've been avoided. I'm almost angry with him for dying and I feel like that's not good but I'm so pissed he had to pass so young. He was one of the best people I have ever come across. I don't get why this has to happen to good hearted honest people that mean so much to those around them.