We consider the Friedrichs self-adjoint extension for a differential operatorAof the formA=A0+q(x)⋅, which is defined on a bounded domainΩ⊂ℝn,n≥1(forn=1we assume thatΩ=(a,b)is a finite interval). HereA0=A0(x,D)is a formally self-adjoint and a uniformly elliptic differential operator of order2mwith bounded smooth coefficients and a potentialq(x)is a real-valued integrable function satisfying the generalized Kato condition. Under these assumptions for the coefficients ofAand for positiveλlarge enough we obtain the existence of Green's function for the operatorA+λIand its estimates up to the boundary ofΩ. These estimates allow us to prove the absolute and uniform convergence up to the boundary ofΩof Fourier series in eigenfunctions of this operator. In particular, these results can be applied for the basis of the Fourier method which is usually used in practice for solving some equations of mathematical physics.