Tips on getting nearly 10 month old to sleep in cot?

Emily

My nearly 10 month old boy only wants to sleep in my bed. And it’s not a with me thing as he’s rarely anywhere near me in the bed 😂

I think he likes the space but I need to get him in his own bed as recently found out I’m expecting again and I can’t have two babies in the bed. Any tips on transitioning?