It depends. Most female cats will stop spraying. However, females not only spray to attract a mate, they also spray to mark their territory and possessions. If you have recently had the female spayed, it may take a while before the spraying stops because the biochemicals that prompt spraying need to subside. You can also help stop the spraying by cleaning any area the female has sprayed with a urine enzyme cleaner (available at most pet stores) and by adding a pheromone spray or diffuser to help relieve stress. If there are other cats coming into your yard, try to keep your cat from seeing them, as the stress of intruders will also cause a cat to spray. In fact, ANY stress will add to the spraying, so try to keep your cat clam and assured. You may also want to have your cat checked by your vet just to be sure that there are no medical issues behind the spraying. I hope this helps.