First, rule out any health issues by taking your cat to your veterinarian. If your cat checks out healthy, then there may be a very simple problem with a very simple solution. More than likely she is trying to tell you something.
if none of these products helped in stopping your cat from peeing on your sofa or bed, the solution that worked for us was an electronic Scat Mat. This unique pet deterrent provides a three-second safe static shock to your pet, once her paws land on the mat. See the video of how we implemented this solution. So far our cat has not tried to get past our scat mat barrier to the upstairs furniture and she’s been using her litter box exclusively ever since we removed her access to her favorite alternate litter box. Hope some of these kitty tips and solutions work for you.