Hi there!
Well, without a detailed clinical evaluation it would be difficult to determine the cause of the lesion. Possibilities that may need to be considered include fordyce spot, cysts, warts, infectious growths etc. If there are no current issues as such I would suggest not worrying about it. In case there is a recurrence, you may consider an evaluation by a primary care physician or a dermatologist for an accurate diagnosis and appropriate management.
Hope this is helpful.
Take care!
It doesn't hurt and I think it was a sweat gland cuz I do sweat down there a lot because it didn't come back though