Sentence:  A man with insomnia had better <WSD>avoid</WSD> bad dreams of that kind if he knew what was good for him . 
Meaning of the word marked with <WSD> tags:  prevent the occurrence of; prevent from happening