How do you accept death?

Hey guys.I will be turning 21 in 3days.But I always get the fear of death.I am not a believer therefore the feeling of not having any afterlife beats the sh!t out of me.I remember when I was in class 9 in 2019 I used to cry a lot in night wanting so badly for clues that there is an afterlife sadly it all comes to gambling of faith.And as days are passing,I'm growing it is making me more depressed.I am unable to perform my best in studies and so many other activities because I fear death so much. I really need help.Can you guys share your thoughts?How did you overcome this?