Use a portable humidifier in your room to increase the room's moisture. Dry air increases the risk and intensity of static electricity, but can be significantly reduced by setting the humidifier to between 30 and 50 percent.
Take off your socks. The sock's fabric rubs against carpeting and increases the amount of static electricity.
Wear clothing made of natural fibers. Cotton, silk and wool have less of a charge than manmade fabric such as polyester, acrylic or nylon.
Touch a coin or key before handling doorknobs. A key or coin grounds the static charge and prevents you from being shocked when touching knobs around the house. Or, rub a wire clothes hanger over your body to eliminate the electric buildup.
Rub your hands with a moisturizing hand lotion. Dry, chapped hands are higher conductors of electricity due to the lack of oils on your hands that usually ground the electricity.