Getting my 1 year old to sleep in his own bed.

Sl

My boyfriend started letting my 1 year old sleep in our bed and now he is so use to it that when we move him from our bed to his bed he wakes right up and won’t go back to sleep. If you have had this problem what did you do to fix it?