I am a static electricity "magnet". I keep getting shocked a lot, painfully, in environments where no one else is, which is kind of bad for my mental health if I focus too much on it. I've learned all kinds of methods to cope.
For example, we have a few bar stools at home; sitting on one always primes me for getting shocked after getting off it. I figured a few rules, such as never wearing anything isolating on my feet, so I can dissipate charges by keeping one foot on the metal part of the chair; or, failing that, I make sure there's always a metal object in grasping range, which I can use to later discharge in a less painful way.
(Pro tip: don't do the metal discharge thing with the hand you wear rings on, and hold the metal item so it doesn't touch the underside of your fingers - getting a shock through a nerve isn't pleasant at all.)
Another thing: I always keep a metal coat hanger around the bedroom, so that whenever I have to deal with blankets, I can keep "swiping" them to collect charge and then transfer them away by touching something grounded with the coat hanger.
Also: I always have my keys on me when away, in an easily-accessible place, specifically so I always have a metal object I can use to offload static charge in a pain-free way.
Also: over the years I kind of habituated all kinds of subtle behaviors designed to keep me safe from getting shocked by my wife or kids. Basically, if I feel one of them just got charged (e.g. via the blankets or the bar stool mentioned before), or I haven't kept track of their recent movements in a static-rich environment, if there's a need or chance of any kind of physical contact, I instinctively first touch using my elbow or some other pain-minimizing way, just to equalize charges with them. My wife sometimes notices when I do it to her, but fortunately, she is quite understanding.