Never yell or punish your cat for urinating in the wrong area. Instead, quickly move her to the litter box. Consistently take her to the litter box and give positive feedback when she uses it. This will reinforce a positive association with urinating and her litter box. Cats like clean litter boxes, just as humans like clean bathrooms. If you're neglecting your cat's needs when it comes to offering a clean litter box, he may find it harder to resist urinating on your sofa or carpet. Keep your cat's litter box in a quiet location that is not near its feeding area. This will increase the chance that the box will be used properly. Cats that are spayed will not purposely urinate in order to mark their territory, solving the problem for you in the first place. Plus, you won't end up with a litter of kittens to potty train! While accidents do happen, particularly with young or even elderly animals, there may be a medical issue at the heart of the problem if you notice your pet urinating inappropriately. Contact your veterinarian to discuss possible medical reasons that your cat is urinating outside of the litter box. Ignoring a medical issue, such as a urinary tract infection, kidney disease or diabetes, could be life-threatening for your pet.

Summary:
Re-train your cat. Replace the cat's litter box more often. Consider getting your cat neutered or spayed. Have your cat checked by the veterinarian.