The dog sleeps outside. She would love to be inside but DH says if she sleeps in the house he won't

The cat likes to sleep on my bed but lately I've been making her sleep in the spare room because she peed on the bed recently and now I can't sleep well because every time she moves I wake up in terror