Sharing clothes

If someone with an std like hpv wears my clothes or underwear and I wash them will the std be dead? Not saying they have one or not, but just in case