Idiom
fend off someonefend off (someone)
1.
to stop someone from coming too near to you.
She was never very good at fending off the boys.
2.
to stop someone from hurting you.
The young woman was able to fend off the robber.
Related vocabulary: ward off someone/something