If the current-carrying wire is placed in a magnetic field (whose lines of force are at right angles to the wire) then it will experience a force at right angles to both the current direction and the magnetic field lines.
The force increases if the strength of the magnetic field and/or current increases.
Watch the you tube video which explains how a dc motor works.
Then read notes for a more detailed account