Even if there is an afterlife, it's probably not you continuing as you are now, like the Hindu/Buddhist concepts of reincarnation. Something may follow that has your essence but not your thought or memory.
Mostly likely you as an entity will end at your dying breath (or really, the last thought to surface before the lights go out, which may proceed the dying breath by a bit).
There is some fear there, in the sense that if this is all there is, I should be making more of it (although I did just have homemade burritos and a teensy bit of Highland Scotch, so I'm in a good place right as this instant).