Visitors in hospital?

How is everyone handling visitors in the hospital? I feel like I'm already overwhelmed about delivery and can't imagine telling people no- but maybe it's best to avoid posting the birth on social media until we are home to avoid people just showing up? Does that happen? I'm a first time mom so I'm not sure what to expect.