Use -아/-야 when you call a close friend or a child by name. After a consonant, add -아. The name 민준 (Minjun) ends in a consonant:
Minjun, come over here a second.
After a vowel, add -야. Here one friend asks another if she’s eaten:
This ending is for addressing someone. When you speak to a teacher, use their title, 선생님, on its own.