To access the recovery mode, you must first shut down your Mac completely. After that, press the power button and press Command-R or Shift-Option-R during the boot to force Mac into recovery mode over the internet.