Doesnt sound like an std
but no guarantees.
It sounds like some sort of an irritation such as friction without proper lubrication, or more likely, from applying some type of gel, lotion, soap, etc which severely irritated your skin. I would recommend only using aquaphor or shea butter cream to the area for a few days and avoiding any other activity until resolves. See dr. If not better in 5 day.