Sleep sack

How long a baby sleep in this? At what age should I stop using this and what to start using