At night, a thorough routine that is always followed is key.
That way they know what is coming, and there is bed at the end. If there is a lot of anxiety
at first and they scream until you come in and "hang out", then do that. Start sitting close, pay minimal attention, then every few nights, start sitting closer to the door. They slowly get used to you being further away, then out of the room.