Sharing beds

If I sleep in someone's bed naked who has gential warts, and if they've slept in it naked previously could I get it?