From earlier yer, from Latin herī. Alternatively from Latin ab herī (“since yesterday”).
Write this word
Practice speaking and memorizing "ayer" and many other words and sentences in Spanish.