Use fewer with countable things:
Example: “Fewer people attended the meeting than expected.”

Use less with uncountable things:
Example: “There’s less coffee in my cup than in yours.”

Supermarket signs saying “10 items or less” are technically wrong, but hey, who’s counting?