How to have no delay in program.

In blink without delay, you don't have any delay()s.
The clue is in the name.

It's built into the IDE - read it.