Skin lesions may be genetic, such as birthmarks or moles, or acquired from medications, allergic reactions, sun exposure, and other systemic diseases such as cancer, autoimmune diseases, and some infectious diseases.