Sharing underwear

Can you get an STD from using someone else's underwear after being washed? (I sprayed them with cleaning vinegar and washed on hot).

My friend bought underwear that were too small for her and she gave them to me. I washed them but have not worn them. I don't think she has an STD but I was just curious.

Thanks!