I dunno. it depends on how you turn. if you get X from the joystick, and rotate the car by X, to undo it, you should be able to rotate -X.
If the issue isn't turning, and its the direction of travel when the cars supposed to stop turning, you would have to look at how to adjust the cars trajectory in the first place