Loop help

So, after you turn the alarm on, you need a two second delay()? I'm not sure if there is a function for that, or not.