The general rule regarding English grammar articles is that 'a' precedes a consonant word, while 'an' precedes a vowel word. So, for example, h is a consonant word; hence it is grammatically correct to say ' a hotel.