Can't speak to running, but I've never had any problems with riding. There's a whole thread about menstruation and various ways to deal with it for riding. Unless it's really heavy or your race is really long, I would think a tampon would be just fine. But again I'm a biker and a swimmer and don't compete anymore.
V.