Can you start pumping right away?

Can you start pumping right after baby is born? We are planning to bottle feed as I have to go back to work but am planning on pumping instead of formula if all goes to plan.

I read online that you should only start pumping after 3 weeks post partum? Or can I pump right away?