When someone dies in a hospital or a care facility, the staff take over the first steps. A doctor confirms the death and records the time. Nurses handle the body. The initial paperwork gets started. That is a relief, and it can also feel like being moved along quickly while you are still taking in that the person is dead.
Here is the split, in plain terms: what the hospital does, and what you actually decide. Most of what you decide is not due on the same day. If the death happened somewhere else, the first steps are different. See what to do when someone dies at home. For the full sequence of what to handle and when, use our when someone dies checklist.