When did u buy a crib?

I'm 16 weeks and was wondering when will be a good time to buy a crib, stroller etc?