A goes before a word that begins with a consonant sound. AN goes before a word tha begins with a vowel sound.