There are several different ways:
Rock Avich said:
"Of old age with a full stomach and a maiden's lips around my cock."
-Tyrion Lannister
I would however like to add that I'd love this to be after my most favourite meal, and several invigorating hours with not only the maiden but several others*
However if I don't feel pain and happen to know for a fact that I'm going to die in a few days...
I'd love to do some really insane shit, such as stealing a ferrari[from a dealer, not a person, dealer's get insurance against that shit], having an epic police chase(where none get hurt hopefully), and just generally fuck around having fun, doing stuff I wouldn't do normally as I'd be scared of dying and the consequences, until eventually I fuck up and die, or presuming I don't fuck up, I'd love to take out as many assholes** as I can until the cops kill me.
*This is my end assuming I don't have a wife or girlfriend. If I do have a wife, I'd like to go out while sleeping next to her(not exactly fair on her, unless she went out at the same time, but y'know).
**Assholes being people I despise, such as rapists, guys who abuse the women in their lives, kiddy touchers.. you get the idea(don't ever get me started on rapists and guys that abuse their wives/girlfriends, you'll end up with a rant a book long).