Use fewer to refer to countable items such as pencils, adults, trees, and computers.
Example

Use less to refer to uncountable items such as ink, sugar, sand, and air.
Example

Note the difference:

Link to exercises on fewer / less.