Hello,
Connect to your server using FTP or cPanel and add the code in the child theme functions.php file.
Regards