Before inserting a pencil in your eyes, apply under your eyes, a small amount of concealer. This will help stabilize the pencil and stay intact for longer.
Apply the eye contour pencil to shade you want and go through with a brush, a small amount of shadow in the same shade. Finally, go back over the pencil first used! In this way the pencil will remain stable for longer.