It’s best to upgrade your Town Hall first, because it gives you access to all of the building upgrades. After you upgrade your Town Hall to level 8, you can then upgrade other buildings that have a level requirement.