If you don't buy tickets online, you will need to physically validate your train ticket using the little machines on the platform before boarding, plus fill in the date and sign if it is a multi-day ticket. Not validating your train ticket, together with the fines from getting caught in ZTL zones, is the most common way tourists get fined in Italy. You can find out about ZTL zones and other mistakes tourists to Italy MUST NOT make here.