Ingredients like zinc oxide and niacinamide, which are often found in sunscreen, also have anti-inflammatory properties which can help reduce inflammation and relieve acne. Sun damage can also cause hyperpigmentation, which can make acne scars look much worse than they are.