Register a stillbirth

How to register a stillbirth and when you need to do it.