Nouns can be countable or non-countable.
Countable nouns can be counted, for example: an apple, two apples, three apples, etc.
Non-countable nouns cannot be counted, for example, air, rice, water, etc.
When you learn a new noun, you should check if it is countable or non-countable and note how it is used in a sentence.