Haber + participle moves the action in time
he comido — I have eaten (up to now)
Hoy he comido demasiado.
había comido — I had eaten (before some past moment)
Ya había comido cuando llegaste.
habré comido — I will have eaten (by some future point)
Para las ocho ya habré comido.
habría comido — I would have eaten
Habría comido más, pero estaba lleno.
haya comido — that I have eaten (subjunctive)
Espero que haya comido algo.
hubiera comido — if I had eaten
Si hubiera comido antes, no tendría hambre.
The same verb means 'there is'
hay — there is, there are
Hay mucha gente aquí.
había — there was, there were
Había tres personas esperando.
hubo — there was (an event that happened)
Hubo un accidente anoche.
habrá — there will be
Habrá una reunión el lunes.
haya — that there be (subjunctive)
Espero que no haya problemas.
It never goes plural — hay for one or many, había for one or many
Hay un libro. Hay tres libros.
Hay que
hay que + infinitive — one has to, with no specific subject
Hay que llegar temprano.
había que + infinitive — one had to
Había que reservar con antelación.
Compare tener que — tengo que is personal, hay que is a general rule
Tengo que salir. Hay que salir temprano.
Two things worth knowing
Nothing separates haber from the participle — no pronouns or adverbs in between
No lo he visto. Not he no visto lo.
The participle never changes — with haber it stays masculine singular
Ella ha comido. Ellas han comido.
