REFERS TO HETERO CYCLE COMPOUNDS OF FORMULAS (Ia) AND (Ib) WHERE THE SUBSTITUTES Z, W2, R4, R7, R8, W, D, L, Q, n, E, G, R1, R2, Ar, Ar1, Ar2 , D1, L1, Q1, m, W1, R3, R5, R6, W3, Z1, Y, R9, R10, R11, R12, Ar3, K, K1 AND Y1 ARE ACCORDING TO THE DESCRIBED IN THE DESCRIPTIVE MEMORY. PREFERRED COMPOUNDS ARE FORMULA Ia-1, Ib-2, AMONG OTHERS. IT ALSO REFERS TO A PHARMACEUTICAL COMBINATION. SUCH COMPOUNDS INHIBIT THE HEPATITIS C VIRUS NS5A PROTEIN (HCV) BEING USEFUL IN THE TREATMENT AND PREVENTION OF HEPATITIS C VIRUS INFECTIONSE REFIERE A COMPUESTOS HETEROCICLOS DE FORMULAS (Ia) Y (Ib) DONDE LOS SUSTITUYENTES Z, W2, R4, R7, R8, W, D, L, Q, n, E, G, R1, R2, Ar, Ar1, Ar2, D1, L1, Q1, m, W1, R3, R5, R6, W3, Z1, Y, R9, R10, R11, R12, Ar3, K, K1 E Y1 SON DE ACUERDO A LO DESCRITO EN LA MEMORIA DESCRIPTIVA. SON COMPUESTOS PREFERIDOS LOS DE FORMULA Ia-1, Ib-2, ENTRE OTROS. TAMBIEN SE REFIERE A UNA COMBINACION FARMACEUTICA. DICHOS COMPUESTOS INHIBEN LA PROTEINA NS5A DEL VIRUS DE LA HEPATITIS C (HCV) SIENDO UTILES EN EL TRATAMIENTO Y PREVENCION DE LA INFECCION POR EL VIRUS DE LA HEPATITIS C