how to level up

When you accumulate a certain value of experience, you will level up. You can get experience by killing mobs and finishing quests. NPCs will provide you many quests to do, and experience is a part of quest rewards.