To raise a building's level in Tribal Wars, open your village and click the Village Headquarters. From there you pick the structure you want to improve and queue the upgrade, which costs resources and time that both scale with level.
Once your Headquarters reaches level 15, a downgrade option also becomes available, letting you lower a building's level when your village plan changes.
A common early strategy is to keep the Headquarters itself climbing steadily, since it gates how quickly everything else can grow.