You level up by gaining experience from combat, completing quests, and participating in events. Keep challenging tougher enemies to gain more XP.