When can babies sleep with a pillow and blanket?

When can babies start sleeping with a blanket and a pillow? Like what is the safe age?