There's no rule that says dead creatures can't take action. You'll usually become Unconscious first, but instant death effects including massive damage bypass that. So you can just keep playing.
This was clearer in 3.5, where it actually had an entry for the Dead condition which did not say you couldn't take actions.