pumping question

When do you ladies pump? I am at home with my LO but want to pump to have milk stored so I can go out. But my LO eats so frequently I don't know when to pump between times. Is there an optimum time?