The very first thing you need to do is to take her to the vet. Very often when cats get urinary tract infections they only way they can make us dense humans understand they are uncomfortable and in pain is to urinate in what we think is an inappropriate place. What to do after that depends upon the vet visit.

Denyce