Any time I inspect a house where an amateur has been doing electrical wiring in a home, there's a good chance that I'll find outlets with reversed polarity. This happens when the hot and nuetral wires get flipped around at an outlet. Reversed polarity creates a potential shock hazard, but it's usually an easy repair.
A brief definition of Hot and Neutral wires: On a standard outlet, which is technically called a duplex receptacle, there are two wires that carry electricity. One of these wires is connected to the earth, or 'grounded', and this wire is called the grounded conductor. This wire is commonly referred to as the neutral wire, and it should always be white (unless it's an old home with cloth covered wires). The other wire doesn't get connected to the earth, and it's called the ungrounded conductor, or hot wire. This wire can be any color besides white or green, but it's usually black. Because the hot wire completes a circuit by coming in contact with the earth, if you touch a hot wire and you're in contact with the earth (which is pretty much always), you'll become part of the circuit. In other words, you'll get shocked.
Shock hazard scenario #1: I'm toasting an english muffin and it gets stuck in my toaster. I look in the toaster and see that the heating elements are off, so I assume it's safe to stick a knife in the toaster to get my muffin. I should be safe doing this, because the switch that controls the flow of electricity to the heating elements in the toaster shuts off the hot wire. Unfortunately, my toaster is plugged in to an outlet with reversed polarity, so the switch on my toaster is shutting off the neutral wire instead of the hot. This means there is always electricity at the heating elements just waiting for some poor sap to stick a knife in, and that electricity will travel up the knife, through my body, and back to the earth. Breakfast ruined. Your mom was right when she told you to never do this.
Shock hazard scenario #2: I'm using an old trouble light, and my finger accidentally comes in contact with the outside of the metal socket that holds the light bulb in place. The socket is always connected to the neutral wire, so no big deal… unless the trouble light is plugged in to an outlet with reversed polarity. In this case, I'll get a shock. If this happens while I'm laying on the garage floor working on my car, there's a good chance that this could be the last shock I ever get. This can also happen with old table lamps that have exposed metal sockets.
Damage to electronic components? No. I've heard that reversed polarity can cause damage to some electronic equipment, such as computers. I researched that theory for this blog and I couldn't find any evidence to support it. Why would electronic equipment care which wire is connected to the earth? It doesn't. Reversed polarity is a shock hazard only. Electronic equipment will still function fine.
How to fix: Get an electrician. The electrician will check the color of the wires feeding to the outlet. If the white wire is connected to the smaller slot on the outlet, then the outlet was wired backwards. The fix is as simple as swapping the wires around on the outlet. If the wiring appears correct at the outlet, this means the white wire is now the hot, and a problem exists somewhere upstream from the outlet. This will take more investigation to determine exactly where the wiring went wrong. Simply swapping the wires at the outlet would not be an acceptable fix.
The bottom line is that reversed polarity at outlets is a shock hazard. Electronic equipment plugged in to an outlet with reversed polarity will still function properly. You can test for reversed polarity at your outlets with an inexpensive outlet tester. If you have outlets with reversed polarity, have this condition corrected by an electrician.