Yeah theres over the counter things for both yeast and urinary tract infections that you might want to try. But if it's something else then the medications probably won't do anything for you.
I guess you could try the over the counter approach first and if it doesn't clear up check a doctor.
If it is indeed an infection, are there any over the counter medications or treatments that could treat this?
Make sure he has clean hands if he's going to be down there as bacteria can really take hold in warm, dark, moist places. Even if his hands weren't "dirty" it doesn't mean they were "clean," you know what I mean?
Try cleaning yourself down there and taking a bath with some epsom salts. If the feelings don't go away soon I'd definitely go to your doctor for a checkup.