How did ancient Olympic athletes prepare for competitions?

During the celebration of the games, the Olympic truce (ekecheiría) was announced so that athletes and religious pilgrims could travel from their cities to the games in safety