Put your earrings on after perfume and hairspray, not before.
Wipe them with a soft, dry cloth after wearing, and keep them away from water, sweat and lotions.
Store each pair in its pouch rather than loose in a box. Scratches dull the plating faster than anything else.