We haven't traveled in Italy by train but will in May 2024 - Basel to Brescia, and Riva Del Garda to Milan Malpensa Airport. How far in advance should I look at purchasing tickets?