You need to download the Patches file from Magento Download page https://magento.com/tech-resources/download
After you have the patches match your Magento version, please upload the patch file to your WebRoot (for examaple: /public_html/, /var/www/html/ ...etc)
Start running Command Line via SSH access:
patch -p 1 < FILE_NAME.patch