Controlling DC Motor with L293

The first thing you need to do is figure out how to wire the motor such that it works properly with a simple, two wire connection to a battery or power supply.

That is the connection you will use for the two outputs of the motor driver.

Then select an appropriate motor driver. Don't bother with the L293.