Sometimes, players will repeat the same number of actions over and over again. This opens up the possibility that players will utilize cooperative strategies that are not available in one-shot games. This is especially applicable in the case of the infinite prisoner's dilemma, which has become pervasive in the formal modeling literature. We go over the basics in this lecture.
For further reading, see Robert Axelrod's The Evolution of Cooperation.