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.

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