1. Match the chemistry
A NiMH charger charges nickel-metal hydride cells. A lithium-ion charger charges lithium-ion cells, and a lithium charger will not charge NiMH cells or alkaline ones. Most modern chargers handle NiMH and lithium separately, with a button or a slider.
2. Smart charging is worth paying for
A good charger measures each cell, stops when the cell is full, and refuses to keep charging one that will not take a charge. A cheap charger pushes current for a fixed time instead, which overcharges a cell that filled early.
3. The charge and discharge test
Most good chargers have a test that charges and then discharges the cells, which shows their true remaining capacity and gives new cells a couple of cycles. That is what makes a set of NiMH cells last instead of fading after a year.
4. Never charge an alkaline cell
Alkaline cells are not rechargeable. Charging one builds gas inside it, and it can leak, swell or burst. If a charger will charge anything you put in it, keep alkaline cells well away from it.
5. Small currents are easier on cells
Charging at a lower rate takes longer but is gentler and makes less heat. A slow overnight charge is fine for AA and AAA cells, and a fast charger is more useful for a power tool pack you need within the hour.