The best thing you can do is make sure of a couple of things.
1) Always wear a clean pair of shorts. Not just dry, but laundered too.
2) Take your cycling shorts off immediately after you ride if at all possible.
I also use one of those Cottonelle fresh wipes after riding if I am not going to shower right away.
Seems to help keep everything clean down there and I haven't had a problem.