This site gives you some short examples of when to use the definite and indefinite article, as well as when to use the quantifiers 'some' and 'any'. There are then 2 exercises to do. In Exercise A you have to type in either a, an or any to complete the sentences correctly. In Exercise B, read the sentence and decide if it is correct or not.
Articles and Quantifiers