So, will you have an afterlife?
Yeah, you will. That said, the reason why might surprise you. Here's a quick slideshow overview of how it all works.
Yes, you're going to carry on after death, and learning as much as you can about who and what you are - while you're still working through your corporeal stage of development - is what will give you your best shot at successfully managing the forever that awaits you.