This question already has an answer here:
Since user starts with a vowel shouldn't we use "an" ? I've seen many cases of using "a" .
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
"An" goes before all words that begin with vowels:
With two exceptions:
When u makes the same sound as the y in you, or o makes the same sound as w in won, then a is used: