Your sunscreen should have both. This is called broad spectrum sunscreen. You need protection from ultraviolet B waves that burn the skin and ultraviolet A waves that prematurely age skin and damage DNA. Both sources of UV radiation increase your risk of skin cancer.