Have checked for a urinary tract infection. If not a UTI it is behavioral and most likely due to stress, feliway might help, rescue remedy might help, if all else fails she might have to be crate trained ( had to do this with my cat with a pooping problem after my baby was born).