I've lost my 2 best friends

I've recently lost my 2 best friends because I didn't open up to them about some of the health problems I've been having and instead lashed out at them. I don't know what to do because I just want them back, their my best friends and I need them. I need help to try and get them back?