Then you can use the page handle paired with “ifs” and load it up wherever it’s appropriate. Perhaps not the most elegant solution depending on how many pages you’ll have, but it’s certainly good enough.
For instance, the following piece of code:
{% if page.handle == 'index' %}
{% section 'header' %}
{% endif %}
Would load the header only at the homepage.