One way to avoid jackknifing is to:

You must drive smoothly to reduce the risk of jackknifing. To help make this possible, scan the road ahead of your vehicle to allow yourself plenty of time to maneuver in response to upcoming hazards.
DMV Writen Test