Fetching details from the dictionary...

to defend against; to protect against
to prevent; to avert; to avoid
寒さを拒ぐために窓を閉めた。
I closed the window to keep out the cold.
病気を拒ぐには手洗いが大切だ。
Washing your hands is important for preventing illness.
雨を拒ぐ屋根がなくてずぶ濡れになった。
There was no roof to shelter from the rain and I got soaked.