Baby sleeping in own bed

Am

How did you guys get your baby to start sleeping by themselves in their own beds?😢 My baby is 11 weeks and just stopped breastfeeding due to lactose diet also.