Turn on the light with pir

ok, but can i use delay() ?