Since cystic acne is an infection, your doctor will likely target the acne first! The plus side of this is that many acne treatments may also help your melasma. However, some acne medication, topical and oral, can cause sun sensitivity. The best thing to do is use sun protection with SPF 30 and protective clothing, such as hats, during your acne treatment.