When you figure out the correct ways to hook up, mark the cables with colored zip ties, markers or labels. Won't get mixed up afterwards but like said above, always do a quick test before every flight. My old motors and ESCs were color coded and sat connected together for 10 years unused. I pulled them out of storage and set everything up and the motor went reverse on me. No idea what would cause it to do that but it was a good thing I checked LOL.