How do you do night feedings and pumping?

Gi

Feed while pumping? Pump after feeding? I just like to massage my breasts while pumping and hold the baby up on my chest to burp. It's kinda hard to do both at the same time..