Pimple on labia that bled and hurts

every other month I near my cycle or sometime around it I get these pimple like lesions that kinda swell then hurt and bleed then go away. I have very heavy cycles the last one lasted a couple weeks I did have a similar bump 2 months a go and a little discomfort in my groin. Could this be herpes related?

i would get it swabbed