Husband applied for night shift. Help!!

My husband has a opportunity with work to move to night shift. This was not in our plan at all. I'm freaking out. This is our first child, I have no idea what to expect at night. If I'm up all night with the baby I would need to go into work in the morning. Who has done this and made it work??? I need advice!