It's very scary to find any sort of unexpected bump on your genitals, but it is important not to panic. You won't know for sure what they are until you go see a doctor.
With respect to the Herpes Simplex virus, you can spread that through skin to skin contact, so technically, being fingered could pass it to your genitals if the fingers came into contact with the virus first. But again, you won't know until you go see your doctor. It could be something as simple a razor bumps, so get yourself checked out.
Remember, there are many treatment options available for different STIs, so even if you did contract something, it's not the end of the world, so please take a deep breath. And call your doctor.
Hope this helps, good luck