Ladybugs are a beneficial insect. Rather than considering them pests, gardeners lure ladybugs to their gardens because these beetles help control aphids, scale, spider mites mealybugs and whiteflies. You can purchase live ladybugs from a garden center, but most of them won't stay in your garden. Instead, attract them with pollen-rich plants planted near others you want to protect.
When you're planting your vegetable garden in the spring, plant annuals nearby or plant a garden border to attract ladybugs. Marigolds, prairie sunflower, hairy vetch, alyssum, scented geranium and Queen Anne's lace all attract the beetle, and some, like the marigold, are vegetable companion plants, too.
Plant baskets of gold, golden marguerite, butterfly weed, tansy, hesperis and viola in your perennial garden to attract ladybugs and keep pests away. This natural form of insect control is a way to eliminate chemical pesticides from your garden.
Among the herbs that attract ladybugs are dill, Queen Anne's lace, yarrow, fennel, catnip, lemon balm, bee balm and coriander. Strong scents and umbrella-shaped flowers lure the beetles, and because many herbs are perennials, they'll keep attracting them.