If you are on a job as a subcontractor and notice than there is a discrepancy between then plans and specifications required, who do you notify?

If you are on a job as a subcontractor and notice than there is a discrepancy between then plans and specifications required, who do you notify?