Loop with delay

how can i make a function example() be repeated 5 times with a delay of 3 seconds in between?

regards,
stijn