Best is a covered run. People also use old CD's and similar shiny objects to deter them. If you are considering shooting, best to research the legal implications -- I understand it is a felony unless you have a permit, which is expensive and difficult to get, but have not really looked into this.
I'm sure if you do a search you will find other ideas. We have a few around but they don't seem to bother the chickens.