“One of the easiest ways to avoid static shock is to pay attention to what you’re wearing and what kind of fabrics make up the furniture in your house. For example, Electrostatics.net notes that rubber-soled shoes are great insulators, and will build up a lot of static in your body when combined with a wool or nylon carpet. Instead, try walking around in leather soled shoes, or cotton socks instead of wool socks. Leather soled shoes are also great for grocery shopping, since shopping carts can often cause lots of static electricity.
Similarly, wool sweaters are common offenders, especially in the dry winter (when you usually wear them). If you sit in a chair made out of the right fabric, you’ll build up quite a bit of static. Again, cotton is going to be much more friendly, so try wearing cotton clothes when you want to avoid nasty shocks. Certain furniture covers or antistatic sprays can help alleviate this problem, too.
You may have also noticed that often, when you get out of your car, you get a shock when you touch the door. You might have even heard that touching the door frame as you get out of the car can help, and that’s true. Make sure you start holding the metal frame before you get out of the car, and you keep touching it until you’re out of the seat completely. If you forget to do this, you can also touch the car door with your keys. Since the electricity will discharge through them, you won’t feel a shock”
Read the full article for more tips on avoiding static shocks in the dry air of the winter months.