Read this article – https://developer.wordpress.org/themes/advanced-topics/child-themes/#adding-template-files , you need to copy header.php file from the patent theme into the child and do changes there.
Regards