hi there, you are quite perceptive about it being a kind of STD
and the best thing for you to do would be to have an appointment with a Skin and Venereal disease specialist. In the future it will be advisable to use a condom as it protects you from STDs besides AIDs
and unnecessary pregnancies! Take care.