If your cat doesn't urinate indiscriminately before but is now, it's recommended that you first rule out any potential problems, such as taking your cat to a veterinary clinic to check for urinary tract infections, stones, or other issues.

In addition, maintaining the cleanliness and location of the litter box, as well as choosing the right type of litter for your cat, are also very important. If your cat is urinating inappropriately due to psychological stress, you can try to reduce its stress and anxiety, such as by providing a quiet and comfortable environment and spending more time with it.