Well, a tanning bed, in the first place, isn't safe. I agree, use some Aloe.

Next time you want to tan, try a MysticTan or some spray-on stuff.. it lasts for a week, it's easy to apply and is 100% safe.