Repeating only a specific condition during a loop

Not much information to go on here but the usual way to repeat something x times is the 'for' command http://arduino.cc/en/Reference/For