Point it out to the collector before you leave. Show them which name or detail is wrong, and let staff correct it under their collection procedure.
If you spotted the mistake later, call the place that collected the sample. Ask whether they can identify your sample or need to collect it again. If a result has already arrived, here’s how to question it.