Getting toddler in room

How do I “easily” get my two year old in his own room? He’s always slept with me for medics reasons when he was a baby. Now I’m 16 weeks pregnant and need to

Get him in his own room before baby comes! Help!