ward off

verb

1.
prevent the occurrence of; prevent from happening; to protect from or to keep away anything undesirable; to ward off
2.
avert, turn away, or repel