How to stop being dead?

To avoid ending up there in the future, knock back the tincture of vigour, spend time in bed, or look out for horsehead amulets (from expeditions).