What to do when someone dies: get a legal pronouncement, notify Social Security, obtain death certificates, and plan a funeral. Learn the immediate steps.