Remove their shoes. I have very pale cream carpets and no one in the household wears shoes in the house. My niece recently called and it was heavily raining, she had cork sole shoes on which sucked up lots of water which she tramped over my carpets. I asked her to take them off as wet soggy prints were being left behind. I do not have to ask some people but feel awkward when I do ask.