ward off
phrasal verb [M]
to prevent
(something unpleasant) from harming or approaching you
She was given a magic charm to ward off
evil spirits.
She tends to wear a rather threatening
expression in public to ward off unwanted approaches. [M]
In the winter I take vitamin C - it helps
to ward colds off.
(Cited from Cambridge
International Dictionary of English.)