I’m afraid of death how do I get over it?

I think there are 2 out comes of death an eternal black void where my life has been meaningless and I will never ever connect with anyone ever agian forever in limbo or I will repeat this life or live another life as another person without my memory’s in this life due to before I was born it was dark but suddenly there was light. I’m just scared of there being a void or losing everyone and everything I ever cared about and I don’t want to die and see which one of those out comes are true because there is no coming back from death it’s been haunting me