I will present some basic notions and methods of studying ergodic properties of billiard flows on finite rational polygons and then on infinite periodic tables. The target example is so called the Ehrenfest wind-tree model.