New to Arduio! Timer help!

for a start look at the "blink without delay" example

in a nutshell you make a timestamp, and every loop check the current time vs the old time, if the difference is greater than your predetermined amount, bob's your uncle