Best way to deal with a spiked village is attack it with your hero before the spiker has time to withdraw, especially if the farm is repeatedly spiked. Usually stops the culprit.