Use a when the h is pronounced as a hotel (ho-tel).
- I stayed in a beautiful hotel.
Use an when the h is silent as in an hour (our).
- He was an hour late.
Use a when the h is pronounced as a hotel (ho-tel).
Use an when the h is silent as in an hour (our).