I need help running a small DC motor with the arduino

Here's an example circuit of an NPN transistor like 2N2222 driving relay to drive a higher current motor.
Put your smaller motor between +5 and the collector.