An important measure in protecting yourself from hyperpigmentation is to protect your skin from the sun.
Do this by regularly applying a broad sprectrum sunscreen that shields the skin from UVA and UVB rays.
Slather it on thirty minutes before sun exposure and reapply every two hours because it can wear thin when exposed to water or perspiration. In addition to that, wear protective clothing, sunglasses or hats.
Experts also advise to avoid sun exposure from 10AM to 3PM because this is the time when the rays are more intense.