But sharing a bed can be harmful to your baby. When your little one sleeps on anything other than a mattress with a tight sheet and nothing else nearby, it increases her risk of SIDS and hinders safe sleep, especially in the first six months of life.