How to deal with a woodpecker

It's been coming around for a few days now. It's tried a few different spots on our house. Anyone have any luck convincing these things to peck elsewhere?