A death must normally be registered in the district where the death happens within five days, unless the coroner is conducting an investigation when the timescale can be extended.
The registrar will issue a death certificate when all the necessary information is received.
All the information you need can be found on North Yorkshire County Council's website.
The GOV.UK website offers some useful advice on what to do after someone dies.