Black Salve (rooster booster) can be used as a deterrant but it's messy. I agree with adozengirlz that you need to figure out the root of the issue - are they lacking protein in their diet; crowded; etc.
However, I think sometimes it just a bad habit they pick up. I recently sold one of my...