By when do I need to buy my ticket? It is important for you to have a valid ticket before you board the train.