I mean, if we go by Buddhist cosmology, what you're supposed to do is keep endeavoring to attain enlightenment and achieve nirvana to finally separate yourself from the cycle of death and rebirth. So even if you go to heaven – which is a whole different can of worms by the way since there are a lot of heavens in this system – it's not the end. You're still in the cycle.
You'll still eventually die and face judgement to see where you'll end up next.