Urine samples are generally collected using a clean-catch method to prevent contamination. This involves cleaning the genital area, starting to urinate, and then collecting the midstream urine in a sterile container. For certain tests, a 24-hour urine collection might be required to measure substances excreted over a full day.