Program on/of motor dc??

is it same the program if i want to stop and run motor dc with LED blink ???

Yes, but with different hardware.

what you meant hardware ? component ? can u tell me what the component i need ?

what you meant hardware ? component ?

Yes.

can u tell me what the component i need ?

Without more detail, no I can't.

i'm just for spinning motor on/off ... im using 12vdc (2400)rpm..

My son's slot cars have 12 volt motors. My diesel car has a 12 volt starter motor.

Your move.

Alarick: i'm just for spinning motor on/off ... im using 12vdc (2400)rpm..

So what are you using to drive that? This means what are you using to make the 5V signal from the arduino into a 12V signal for your motor?

You need something like this, where the pin D6 (or whatever pin you used for Blink) is switching the transistor on and off in the same way it was switching the LED for you. The transistor in turns lets or refuses the connection V to ground through the motor which therefore goes on and off.

Don't forget the diode across the motor connected as shown.