arudino delay issue

Hi im using arduino for my home automation system, so i used room light and external light there. now i plan to use time delay for external light so i use delay code there while delay time is activate that time i can't use other function, so is there any code for that

Blink without delay