Fast DC motor resets Arduino?!

Reallyhappyman:
Yes, your exactly right, rashemmel. I had the dc motors run off another power source and it worked fine. But this is still a problem as I can only afford to have one battery, so how can I use one battery to power arduino, dc motor, and other sensors? Thanks for all the replies!

The battery will need to handle the maximum current draw comfortably, including
the peak current taken by the motor.