The easiest way to buy a ticket for any public transport is via the SBB app. Otherwise you can get tickets at any train station or ticket machines. They accept credit cards and EC cards and a few also accept cash.
When buying a ticket, pay attention to the validity. Short distance tickets are usually valid for one day only. Ask about the most favourable tariffs and season tickets.
With the annual half-fare travel card (Swiss Pass), you pay only half of the price on the entire SBB railroad network and minus 25 % in Germany and Austria. With the SwissPass, you also have access to partner services from Mobility Carsharing, PubliBike and SwitzerlandMobility and to ski resorts.
Tip : take out a ‘Junior Travelcard’ for your child. For just around CHF 30 per year, a child between the age of 6 and 16 can travel with a parent (with a valid ticket) on all public transport. The Junior travelcard is valid anywhere within the half-fare travelcard area. Children may also use these to travel free or at a reduced price on many tram and bus routes of local transport services.
And for when grandparents want to travel with grandchildren or any other adult that is accompanying a child, there is the ‘Kinder-Mitfahrkarte’ (Children’s Co-Travelcard) for just around CHF 30.
For all SBB-prices please use this link: Travelcards & Tickets