To attract beneficial insects to your garden for natural pest control, plant a variety of flowers, herbs, and shrubs that provide nectar and pollen. Examples include dill, fennel, and lavender. Avoid pesticides and use companion planting to promote biodiversity. Provide habitats for beneficial insects by creating a brush pile or installing insect hotels.