The best way to prevent lentigines is to stay out of the sun as much as possible, especially between the hours of 10 a.m. and 2 p.m. Use a broad-spectrum sunscreen with an SPF of 30 when outdoors, and wear protective clothing, such as long-sleeved shirts, pants, and a wide-brimmed hat. Avoid using tanning beds.