Question about feeding?

I have questions about breastfeeding/pumping if anyone can help me?

I want my husband/mom to be able to take night shifts after I give birth to my son. In order to do this, what do you do? Do I breastfeed on one side and then pump on the other so he will have enough to get him through the night?

*note* I know I would have to get up a time or two to pump during the night.

If you exclusively pump, what does your baby do while you’re in the hospital? I guess my question is, for his first feeding do I pump and then give it immediately to him?

Sorry if these questions sound dumb I just get so many different answers online and want to hear what people here have to say!