You need to use 1 Hammer when you build or upgrade a building. On the left side of your screen, you can see the time remaining until the upgrade is complete.

If you want to construct more buildings simultaneously, you can hire the Golden Hammer. You can also use Gold to instantly complete the current building and start constructing or upgrading the next one.