"Fish-tailing

The fact that the OP was fishtailing from side to side tells me he/she didn’t lose traction on all four wheels.

You were over correcting, turning the wheel too far and not turning it back soon enough. Doing it right can only come with practice.