Hi there
Have you chosen your PIR sensor and motor? If so, please post links to them.
These may be useful resources ...
The motor needs to turn off when the sensor is not activated.
If this is all you need, there could be a way to do it without an Arduino. Is there other stuff going on that you need the Arduino for?
All the best
Ray