I need advice

Da

My 18 month old just started sleeping in my bed bout 4 months ago now I can't get him to sleep in his own bed I need advice to make him stay in his bed instead of getting up in the middle of night and come to mine I am 6 months pregnant and it is killing me sleep wise.