The article 'a' is used before words beginning with consonant sounds, while 'an' is used before vowel sounds. 'Hotel' begins with the consonant sound /h/, so 'a hotel' is grammatically correct. 'An hotel' would only be appropriate if the h were silent, which it is not in standard English pronunciation.