Hair static charge happen easily only in dry weather.
1. Spray some water on your hair, wet hair can discharge faster.
2. Make the environment more humid. There are some moisture machine.
3. Discharge yourself by touching some earthed metal --- water pipe, window..etc.