Get rid of the bugs in your house. IIRC, they only peck where there is food.
Not really true.
It could also be "drumming" as a form of marking its territory. It would be odd that it would be doing that this time of year, but hell, two days ago I saw robins hopping around my lawn and my roses are setting buds. With as warm as this "winter" has been, all bets are off.
I used to have a woodpecker that would pound the living hell out of the spouting on the front of my house, right outside of my bedroom window.
The first time it happened it was early spring. The dogs went absolutely apeshit, and I grabbed a gun, thinking someone was hammering on the front door.
When I got to the front door, no one was there, so I opened it and looked around. No one. Damned kids, or drunks.
Closed the door, headed upstairs, and it happened again.
Back down the steps in record time, swung the door open, and nothing. I'm sure had the neighbors seen me they would have wondered why I was standing at the front door in a pair of gym shorts, a .357 in my hand, and a very pissed off/puzzled look on my face.
Just then, the damned bird drummed for a third time, and I finally realized what it was. It was hanging upside down on my gutter just hammering the *expletive deleted*it out of it.
I came VERY close to introducing that bird to my Smith & Wesson.
Oh, and just so you know, shooting a woodpecker is quite a bad idea. I believe that all forms of wood pecker are Federally protected these days.