There isn't sufficient information to suggest that you have an
STD. I would advise you to visit the dermatologist so that you can be examined and undergo investigations such as
HIV,HCV, etc. to find the underlying problem and have it treated accordingly. Kindly don't self medicate yourself and take the treatment after the examination as directed by your treating doctor.
Next Steps
Follow the steps as advised
Health Tips
If condition persists or worsens visit the dermatologist at the earliest