baby won't sleep alone

Kristi
Sooo my baby will only sleep if she's in a swing or being held. How can I help her transition to a bed? She's a week old