Plant strongly-scented plants such as marigolds, sage and lavender near your vegetables or flowers, as these can deter pest insects. Other plants can be used to distract potential pests. For example, Nasturtiums can lure butterflies away from laying eggs on your cabbages and act as sacrificial plants.