Patients with eczema should try not to sunbathe, especially strong prolonged sun exposure, which can aggravate the onset and development of the rash. If you want to sunbathe, choose a short exposure when the sun is not too toxic. If the eczema is caused by sun exposure, you should avoid sun exposure in the first place. At the same time, you need to take certain oral anti-inflammatory, anti-infective, and anti-allergy medications, such as levocetirizine hydrochloride capsules, olopatadine hydrochloride tablets, chlorpheniramine maleate tablets, or epinastine hydrochloride capsules. If there is secondary infection, you can also take certain oral antibiotic treatment and you can apply topical ofloxacin ointment. If there is no infection, it can be treated with a weak glucocorticoid ointment, such as hydrocortisone butyrate ointment.