Hello.Thanks for posting your query at Doctospring.com
I can understand your concern.
Technically speaking, any used condom with semen in it which is say out exposed to open air for more than five mins will deactivate the hiv virus. However, the other STDs can be transmitted like warts, herpes simplex, gonorrhea, syphilis etc. Hence, it's always best to get a test done with your doctor for STD screening. Hopefully that should put your mind to rest and rule out any transmission.
Feel free to discuss further,
Regards