keep away from
Maintain your distance
To keep away from something is to avoid it or maintain distance from it: Keep away from the edge of the cliff.
The phrase implies deliberate avoidance, whether of physical danger, harmful substances, or undesirable people: The doctor told him to keep away from alcohol.
Parents warn children to keep away from strangers.
You can also keep something away from someone else—preventing contact or access: Keep matches away from children.
steer clear of
circumvent · bypass · elude · avert · fend off · ward off · deflect · escape · prevent · repel
ostracize
Exclude from a group
cold-shoulder · ignore · exclude · alienate · isolate · blacklist · boycott · banish · disown · outcast