Just like with definite articles, remember that if you have a singular, feminine noun starting with stressed a- or ha-, you need to use the masculine indefinite article. We make this change only because of phonetic reasons, to avoid having a longer vowel sound (una aula):
Check out this list of Spanish words that follow this rule!