keep your distance
keep (one's) distance
To limit engagement or association (or the appearance thereof) between oneself and someone or something. Politicians have been quick to keep their distance from the senator ever since news of her drug scandal broke. That kid needs to keep his distance—I'll call the police if I catch anyone trespassing on my property.