Individuals with fair skin, a family history of sun allergy, or certain medical conditions such as lupus, dermatitis, or polymorphous light eruption (PMLE) are at higher risk. Certain medications like antibiotics, diuretics, or antifungals can also increase the risk.