The whole point of using the Lagrangian is that any physically possible motion must make the Lagrangian (Kinetic energy minus potential energy) an extremum. Apply "calculus of variations" (essentially the Euler-Lagrange equation) to the Lagrangian to derive the equations of motion.