"A" goes in front of words sounding like they begin with a consonant.
"An" goes in front of words sounding like they begin with a vowel.
Read more:
http://www.dailywritingtips.com/using-a-and-an-before-words/
Created: 26 October, 2012 - Last changed: 26 October, 2012