"To reduce the accumulation of static electricity, you must increase the humidity, change or get rid of the carpeting, or both. Although a small room-sized humidifier may help, these steps are often too expensive to be practical. A less expensive (and correspondingly less effective) step is to avoid wearing leather-soled shoes or clothes made of synthetic fibers.
(If possible, compute in the nude.) Weather or not you take any of these steps, you should still touch metal to dissipate the static charge before you touch the computer or a disk."