Spider mites are deterred by plants that have a strong aroma or urgent smell like garlic, peppermint, rosemary, parsley, dill, etc.