People who use sunlamps and tanning beds may be at increased risk for developing certain types of skin cancer early in life, a new study suggests.