Install plants and landscaping elements that repel pests and encourage biodiversity. A yard that is dominated by one plant species, such as turf grass, is more susceptible to becoming a haven for a single type of insect. Biodiversity in a yard encourages a healthy, balanced ecosystem and lessens the risk of infestation.