Did you open the App Store (press the top left apple-icon - App Store...), and select upper right "Updates".
You should have macOS Sierra Update (10.12.5).
Press the Update button to install it.
If update this does not appear, search in the App Store for: macOS Sierra.
Download and install.