Your cat should be neutered ASAP. Neutering removes the hormones that can trigger spraying, but spraying can also be a behavioral issue. You should schedule a behavioral consultation with your vet if your cat is neutered and still spraying. Most behavioral problems can be corrected if addressed as soon as they start.