block out
verb
°to prevent from entering or penetrating.
°to prevent (a thought) from entering one's mind.
"After finding out she had terminal cancer, she tried to block out any thoughts of her own mortality."