Pumping in hospital

Ja

So I plan to pump my breast milk instead of ebf like I did my son. Can I pump in the hospital after she is born or should I nurse her in the hospital then pump when we get home?