When people go in tanning beds for various amounts of time, they sweat, bacteria and viruses such as staff infections or herpes virus could theoretically go from one person to the next if the bed wasn't cleaned adequately in between, said dermatologist Armand Cognetta.