Controlling chaos in an erbium-doped fiber dual-ring laser is studied by injecting an external light and shifting the phase of an optical feedback light. First, the parameters of the externally injected optical signal are adjusted to bring the chaotic laser into a single-period state and a multiperiod state, respectively. In addition, the single-mode locking in a single ring of the laser as well as the dual-mode locking in dual ring of the laser are found. Secondly, the method of optical feedback is used to stabilize chaos by controlling the parameters of the optical devices in an external optical path. We show that the optical negative feedback can stabilize the chaotic laser into a single-period state, while the optical positive feedback can stabilize the chaotic laser into another single-period state and a period-doubling state. Lastly, various dynamical states are produced in the laser by shifting the phase of the optical feedback light.