hi dear, with your details i feel it is herpes zoster
. you might have had chicken pox
) in childhood. this virus remains latent in body and later comes up in a particular part of body as zoster. it is not an std. dear, you must meet a dermatologist
for appropiate treatment. for now take some pain killer and apply calamine lotion in that area, you will feel good.