In recent years, great progresses have been obtained in LBM and there are some breakthroughs in the theory and application. Various new models and methods for boundary conditions treatment were proposed. Based on using the macro-variable of the nearest neighboring fluid node and the secondly nearest fluid node to extrapolate the boundary node with the second-order, and approximating the distribution function of the boundary node with the non-equilibrium part of the distribution function at neighboring fluid node, a new method was developed. This new method for pressure and velocity boundary conditions is second-order accuracy, and the method is used for simulating the Poiseuille and Couette flows and Cavity flows which compared with other methods for boundary condition is better than the others.