First time mom

I think I started a bad habit with my baby, so I got sent out of town to have my baby and was put in a hotel. I stayed in the hospital for a night with my baby after he was born, he slept in the bassinet they put your babies in. I had intentions to go home the next day.. couldn’t go. I had to stay in town a few more days so that meant baby sleeps with me in bed @ the hotel.

Anyway, he’s gotten used to being in bed with me he won’t sleep in his bassinet. He’s now 3 weeks old, how can I break this habit & when?

** we stayed 4 days in the hotel, I know I should’ve broke that habit as soon as I got home but I didn’t 🤦🏽‍♀️