I usually let them know that they are sick and it's up to them if they want to expose themselves.
Unannounced visitors, I do the same as maz, go outside and say we are all sick, best to visit another time.