when is the ideal time to buy breast pump?

I bought it right after birth as my daughter had to stay in NICU for 3 days and I wanted to feed my milk. So,Nilima,this is a personal choice. If you want some rest and somebody else can feed your baby then buy or if you have to start work. There can be many reasons.