Pumping at night

If baby is sleeping through the night, do you get up to pump or sleep through it until baby wakes?