The only sure way is to cover it with netting. I buy deer netting. It can be found at any hardware store. I got mine at Lowes. It was around $11 for a 7 x 100 foot roll.
It is easy to work with, light weight. I secured mine to the top of the run with zip ties and to the coop with cup...