Toddler/sleep change

My 2 year old just started sleeping in our bed, and I can’t seem to get him to go back to his room, as he just screams like he’s scared! How to my husband and I go about having our sex life normal again?