Baby laying flat to sleep

Kelly

Anyone having issues getting their baby to sleep flat? She will only sleep on my husband and I or in her swing sometimes. Help!