Thanks for your query.
Simply getting a wound and masturbation will never cause HIV OR STD.
This is possible only if you have a sexual relationship with another person.
So stop worrying till you have a sexual contact.
Well, get the wound properly treated.
I hope this clears up your doubts.
These Q&A’s are for educational purposes and should not be relied upon as a substitute for medical advice you may receive from your physician. If you have a medical emergency, please call 911. These answers do not constitute or initiate a patient/doctor relationship.