Tickets versus passes
Point to point train tickets can be purchased online, and through the staffed desk or ticketing machines at rail stations in Switzerland. In most cases people traveling in Switzerland are better off with some kind of rail pass. If you have a rail pass that includes free traveling, you don’t need a ticket at all.
Domestic tickets for Switzerland do not need to be booked in advance. You can do so, but's not required. There's an exception for a few scenic trains, which require a seat reservation.
Booking tickets early does not get you a lower fare. A few exceptions apply, like resellers which may offer promotions on their rail products.
Find ticket prices and points of sale.
Is something not clear yet? Just post your questions to the Swiss rail forum and get a quick answer.