pets and babies?

Ja
I have a cat and I'm worried about how it will react once the baby is born. 
How do I keep the cat out of the baby's room and bed? There's just something I don't trust about it. 
What has anyone else done to make sure their cat and baby can both live happily together in the same house?!