Here are some tips. Learn which plants make good natural repellants and plant them occasionally throughout your lawn and garden. For instance, if you plant rosemary and thyme next to your cabbage, you'll keep worms away from your cabbage plants, because worms won't go near rosemary and thyme. There are some varieties of plants that are actually insect repellant. Insects won't go near these plants.
Many herbal plants repel insects, such as thyme and garlic.
Get rid of all dead leaves and plant remains after the growing season is over. If you leave old plants lingering around, that will attract unwanted pests. When you shop for new plants and seeds, check them thoroughly to make sure they're not infected before you buy them and put them in your garden. Remove all weeds from your garden and grass. Weeds naturally attracted pests, and those pests will make themselves feel right at home in other areas of your garden as well.