Use AN before words that start with a vowel SOUND. Use A before words that start with a consonant SOUND.
Read the full guide: Articles in English: A, An, The and No Article
an umbrella
The word 'umbrella' begins with the vowel sound /ʌ/, so use 'an' before it; remember that the choice depends on sound, not spelling.
a car
The word 'car' starts with the consonant sound /k/, so use 'a' before it.
an honest mistake
Although 'honest' is spelled with an 'h', the 'h' is silent, so the word actually begins with the vowel sound /ɒ/, which requires 'an'.
a university
The word 'university' begins with a consonant sound /j/ (like in 'yes'), even though it starts with the vowel letter 'u', so use 'a' before it.
an hour
The 'h' in 'hour' is silent, so the word begins with the vowel sound /aʊ/, which means you should use 'an' before it.
a European city
The word 'European' begins with a consonant sound /j/ (like in 'yes'), not a vowel sound, so use 'a' before it even though it starts with a vowel letter.
an apple
The word 'apple' starts with the vowel sound /æ/, so use 'an' before it.
a useful tool
The word 'useful' begins with the consonant sound /j/ (like in 'yes'), even though it starts with the vowel letter 'u', so use 'a' before it.
an old man
The word 'old' begins with the vowel sound /əʊ/, so use 'an' before it.
a one-way street
The word 'one' begins with the consonant sound /w/, even though it starts with the vowel letter 'o', so use 'a' before it.