Choose a Transilien point of sale

How to buy a ticket at Transilien ticket windows and machines?