check if my led is on

No motor is "just like an LED". It is a very bad idea to power a motor from an Arduino output pin. If you continue doing this, after a while you will have to buy another Arduino.