Planting certain herbs and flowers can help keep bugs away from your vegetable garden. Marigolds, for example, have a strong scent that deters many pests. Nasturtiums are also effective at repelling aphids and other insects. Additionally, planting garlic or onions near your vegetables can help ward off unwanted critters. Finally, adding companion plants such as basil or chives to the mix will attract beneficial insects like ladybugs which feed on destructive pests.