We consider field equation (system of equations) in pseudo-Euclidian space. This equation is invariant under orthogonal (of group O(p,q)) coordinate transformations and invariant under gauge transformations of some group. We present new class of solutions of the Yang-Mills equations which corresponds to the solutions of the field equation.