The direction of rotation of a DC motor, as shown below, is in the clockwise direction.
The direction of magnetic field is ___.
Right to left
If the loop is rotating clockwise, the left arm is moving vertically upwards. So, the thumb of your left hand will point upwards. The direction of current will be away from you, so your middle finger will point away from you. The forefinger now gives us the direction of the magnetic field, which is from right to left. You could verify this in the right arm. The right arm is moving downwards, the current is directed towards you. So the forefinger again points towards the left, and hence the magnetic field is from right to left.