How to avoid few people if you donot like

Rr
I would like to avoid few people as I don't like them, but my husband is closed with them. What to do?