You can find the schedule for masses for the Duomo in Florence here: https://www.duomofirenze.it/en/orario-celebrazioni-duomo-di-firenze/ and it doesn't change, so it should be valid while you're here, depending on weekdays (Monday through Saturday) and Sundays which are labeled as "festive"