avert vs put a stop to

avert

verb
  • To turn aside or away. 

  • To ward off, or prevent, the occurrence or effects of. 

put a stop to

verb
  • To terminate or abolish something. 

How often have the words avert and put a stop to occurred in a corpus of books? (source: Google Ngram Viewer )