Do not steer in the opposite direction of the skid.
You should steer in the direction of the skid. Shift car into neutral, use as little gas as possible, so not go hard on the brakes, gently depress the brakes and avoid harsh acceleration.
You should not brake hard. Ease off the gas, and shift into neutral. Slow down gradually. Do not hit the brakes. You will make the skid worse. Turn your steering wheel in the direction of the skid. This question asked what you should not do.