The easiest and worry-free way to book the ticket is online booking services. As an alternative, you always may buy your ticket on the train stations. But you should remember that there may be limited or no availability.