Why is the dog on the bed? Your idea or hers?

If the dog pees on the bed, it needs to be put in a dog crate and checked several times during the night.

I like dogs but have been peed on too many times.