USING a OR an

Using a or an depends on the letter that begins the next word. So...

If a word starts with a vowel (a, e, i, o, u) we use AN
If a word starts with a consonant, we use A

Examples: 

an orange                           a family
an elephant                         a teacher
an umbrella                         a window