Use fewer if you're referring to people or things in the plural (e.g. houses, newspapers, dogs, students, children)
Use less when you're referring to something that can't be counted or doesn't have a plural (e.g. money, air, time, music, rain).
Less is also used with numbers when they are on their own and with expressions of measurement or time