It is usually recommended that you get a firm mattress to reduce the risk of suffocating.
I went with a good innersprung mattress for the cot as your baby is in it for a minimum of a year and many hours of the day. If you have a foam mattress it is recommended that you get new one for each child to prevent sids (sudden infant death syndrome)