Make sure the doctor/doctors who sign off your death certificate are competent. These days this will hardly happen, especially in developed nations where the body has to be seen and go through many processes.
For those of you who have a dread of this ever happening to you then as long as it is not prohibited in your religion and culture, sign up for organ donation after you die. At least that way you can be sure there is little chance of you ever waking up in a grave.