The sun can have numerous effects on the skin. Some are extremely serious and require medical attention, while some are relatively minor and will heal on their own. In your case, I would strongly recommend that you see your primary care physician
to discuss this. A dermatologist
, a doctor
who specializes in the skin, can also be of help and your primary doctor may send you to one.
Your question is not a simple one. Firstly, its hard to know if the skin lesions are related to the sun. There are many diseases which can have skin findings, and its hard to say if the sun exposure is a coincidence. Even if we assume it is from the sun -- there are many different skin findings we must consider. Collectively these are known as photodermatoses. The sun's light is composed of different types of ultraviolet waves -- some of which can be dangerous to the skin. The sun light can causes both non cancerous inflammation (for example light can cause eczema or psoriasis) as well as cancerous lesions. Actinic keratoses and melanoma are both skin cancers that sun light can worsen.
I would recommend seeing a dermatologist. In addition, could sun protection with avoidance of sunlight as well as sun screen is important. Good luck!