Focusing on a visual target can help you recover from a skid and even a full spin earlier. When you go into a skid you should immediately pick out a distant visual target and keep your eyes focused on that target.
A front wheel skid is occurring when you lose control of your steering. This is caused when there is not enough weight on the front tires. In the event of a front tire skid easing off the gas and gently applying the brake will transfer weight forward helping the driver regain traction.
With a rear tire skid, the driver starts to feel the rear of the car sliding to the left or right. In this case a bit of acceleration is appropriate. The driver will accelerate a little bit which will transfer weight to the rear of the car. Simultaneously the driver needs to steer in the direction of the skid.