We can't provide you with a one-size-fits-all set of instructions as there are a lot of different ways to achieve this depending on how you manage your WordPress setup.
But here are some common examples:
By adding the file to your public directory
By connecting with SFTP or SSH
By using cPanel
By using WP Filesystem