Naming baby and SSN

Minkyboodle • Baby boy born 💙8/13/2018

How long after you deliver do you have to decide on a name? Obviously, you should have picked out before they’re born, I was just curious how it works once you actually have the baby at the hospital. Also, how long do you have to fill out all the social security paperwork? Sorry if these are dumb questions- going to be a FTM and have no idea what needs to be done.