Boot into Internet Recovery
Shut the Mac down completely (Apple menu › Shut Down). Switch it on and, immediately, hold down one of the combinations below until you see a spinning globe and the message “Starting Internet Recovery”. Then connect to Wi-Fi; the macOS Utilities window will eventually appear.
Tip: if the drive has been removed or is empty, the Mac often falls back to Internet Recovery on its own.