Doryel:
The problem is that I need the delay :S I need to activate a motor for a certain amount of time (like 1 to 3 secs)
You don't understand, there is a way to simulate a delay without it having it stop all other program flow in your sketch. The blink without delay sketch shows such a method.
Lefty