You can upgrade heroes by earning resources through battles and events, which can be used to enhance their skills, abilities, and equipment.