Mothballs are a common home remedy to keep birds from nesting on ledges, in eaves, or on porches. The strong smell of mothballs is offensive to birds and will deter them from nesting in the area.