If you can, hang the light strands higher than the birds can fly/reach. Otherwise, I've had good luck making a coil of the lights, putting the coil in a plastic ziplock bag (gallon type), and hanging the bag from the wall. That way they can't poop on the lights.