Here are some plants that help prevent pests in your garden.

Chives also work well to keep carrot rust flies away (from TruGreen).

A common garden pest is the aphid.

Woman planting a garden

Deer are also not fans of strongly scented plants like rosemary and garlic (viaFrom House to Home).

Deer in a garden