But you can hear "an" used in phrases like "an hotel" or "an historic building", where the "h" is usually pronounced.