DBT does not run macros on sequence

Hello ! I have a post hook process that calls two macros: one makes an insert in a table and the other makes a select in that same table. The insert one is called first in the code, but dbt (or jiinja) insists on calling the second one first. How is this order established? Is there any way to force priority within my script? Thanks !

r u calling two macros from a single post-hook defined in the model file? or
one macro from a post-hook defined in the dbt_project.yml file and another one from model?

It would be great if u can send us ur code to understand how you have defined them