Earlier is an adverb meaning at a time preceding the present moment, or sooner in a sequence. It can also function as a comparative modifier indicating something occurred before another event. In speech, it often coalesces with following words, and stress typically falls on the word within a sentence rather than on a particle in casual contexts.
Full pronunciation guide