How often do I pump?

I've decided to give formula at night & breast milk during the day, how often should I pump at night to provide milk during the day?
Or if I were to feed breast milk both day & night, when & how often am I to pump?