However, skin that has been exposed to the sun or to a tanning bed will produce more melanin pigment, which attracts energy from the laser. That means that an otherwise safe treatment of laser hair removal may cause an adverse reaction on skin that has been recently exposed to the sun or a tanning light.