It may be a mild heat rash, do you have the same on the other side? If so then it could be irritation from something like your underwear or a menstrual pad.
I don’t believe it looks like an STI but if you’re concerned then please seek medical advice.
It’s not herpes. It looks like rash, I can’t see where exactly it is, but it is common to get it in groin area, especially in hot and humid weather.