Do i need to buy a cot?

L

Obviously i know ill need one at some point but for the first 6 months baby will be next to me in a crib.

So im just wondering if i need to buy a cot now or can it wait till baby is ready for it?