cat pee on the ground

The cat wets the bed, urinates on the sofa, defecates everywhere and urinates randomly.
After making adjustments, the cat no longer defecates or urinates randomly.
When a cat urinates randomly, first check for health problems.
Secondly, check the problem with the litter box.
Also, in a multi-cat household, consider whether it’s caused by marking territory and so on.