If i use a child theme to add new code blocks to header.php, how does it get inserted in the right place in parent’s header.php?

If i use a child theme to add new code blocks to header.php, how does it get inserted in the right place in parent’s header.php?

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)