You should tell a teacher or lab instructor depending of the lab. If it involves broken equipment or a chemical spill tell the teacher. However if it’s a mathematical error just fix it. Always follow lab safety rules to avoid errors and know what to do as well as using common sense.