Great question — answering as the UphillTech team:
The only way to prevent the build-up of static electricity in clothes is to wear clothes made of natural fibers. Otherwise, sooner or later, you will have the electricity. ... sort of "ESD" equipment you use when working on exposed electronics, like something that plugs into mains ground? Well, when the electricity is already built up, just touch anything conductive, e.g., a metal object or another person. But that is not a proper solution, obviously. The material of the shoes and floors is also important - but I do not have a clear answer to that, unfortunately.
Full answer by virolino: https://lifehacks.stackexchange.com/a/28039 (CC BY-SA 4.0).
Need it done for your business? UphillTech.