ward off
verb
°to parry, or turn aside.
"He raised his arms to ward off the attack."
°to avert or prevent.
"He wore garlic to ward off vampires."