Pants

If I put a pair of pants on after my friend wore them could I get any std/stis we both had underwear on.