If the trailer begins to skid, it is best to:

If your trailer begins to skid, you should release the brakes to help regain traction. Once the wheels grip the road again, the trailer will begin to straighten out and follow the path of the tractor.
DMV Writen Test