You need a working App Store app for this. Before installing, make sure you have a current backup and also be sure to copy the installation app to some external disk or flash drive. The app will be in the Applications folder and will be named "Install macOS Sierra". Once installed, you will likely have to install an additional Security Update or two (using App Store).