Registering to have baby

When should you go register at the hospital to have your baby? I'm almost 30 weeks. Didn't know when I should register or if it was too early to now