You can try using a deterrent spray or placing a motion-activated deterrent near the area. You can also try placing the litter box in the area where your cat is having accidents.