Can you get hpv if...

Could you get hpv if you wear someone else's underwear ? Like if you forgot to bring some and your friend lent you some