Ukrainian refugees may take ÖBB-trains in Austria without a ticket. You will need to show your Ukrainian passport or ID. The same applies for public transport in the city of Vienna and in the so-called VOR region (region around Vienna everywhere where VOR tickets are valid).