Getting dog out of our bed.

Kayla • Mama to the sweetest little man. Stage IV endometriosis 💛
Anyone else have to train their pup not to sleep in the bed with you now that baby is coming? I'm dreading it but I want to do it before I get to pregnant I can't sleep at night. I love having him sleep with us but I know it will get uncomfortable and I don't want him in the bed when baby is here. 
Any tips?