Woodpeckers tend to follow pests. When looking at how to deter woodpeckers, make sure you deal with other issues such as carpenter ants, carpenter bees, leaf-cutter bees, wasps, and others that dig into your roof, eaves, siding, fences and trees. If you have problems with those pests, woodpeckers will keep coming back. Consider calling a removal or control service if it looks like bugs are lingering.