answered question
STDs are spread by fluid to fluid contact. So, if there was fluid in the shared underwear and it got into your body then yes, its a possibility. The only 100% way to no for sure is to get tested