Make sure you clean every spot she has sprayed with something like "Nature's Miracle" - an enzymatic cleaner that will get not only what we smell, but the thing we cannot smell that mark a spot as "good pee spot here!"
No cat will understand "no" in connection with a wet spot.
Cleaning those spots well, and a vet check in case it's something medical are both important first steps!
Bookmarks