For the nonlinear periodic boundary-value problem posed for an ordinary differential equation in the critical and noncritical cases, we obtain constructive conditions of its solvability and propose a scheme for finding its solutions by using the Adomian decomposition method.