The rule of thumb for urine samples while menstruating is that you wipe first, then insert a fresh tampon, and then begin urinating. If you don't use tampons, just wipe well first. Since the blood isn't a constant flow the entire duration of your bleeding cycle, wiping will prevent excess blood from entering the cup.