What is the meaning of يا?

O; hey; you; vocative particle preceding a noun used in direct address, only rarely omitted in such contexts

vocative particle, rarely omitted

either ... or

Forms adverbs from nouns and adjectives: -ly

or

O!

vocative particle

either ... or

Hey

already

either...or

vocative particle

accusative particle, used with pronominal suffixes to express English object pronouns, like me, him, etc.

Takes the place of a subject pronoun after و (w, and) when coordinating multiple pronouns

either; or

vocative particle

either ... or

alternative spelling of ايا (iyya-), especially after a vowel

Source: wiktionary.org