Offer a comfortable cat bed with treats or catnip to encourage them to sleep there. Close your bedroom door at night if necessary.