Hyperpigmentation of the skin isn’t uncommon, but unlike your run-of-the-mill sun spots, melasma is arguably one of the most clingy and temperamental skin conditions to treat once it appears.

Melasma, which appears as irregular dark patches along the forehead, upper lip and cheeks, is sometimes called “the mask of pregnancy” because it often occurs in response to hormonal changes associated with pregnancy or the use of oral contraceptives, said Dr. Brendan Camp, a board-certified dermatologist in New York City.

It’s not just pregnancy that can trigger melasma’s wrath, though. According to Dr. Serena Mraz, a board-certified dermatologist in Vallejo, California, it’s not uncommon for it to appear suddenly in non-pregnant adults after sun exposure on the face. And once it does occur, it requires only the smallest bit of sun to make its appearance worse.

“Melasma is most common in people with naturally darker skin but can also occur in very light skin types,” Mraz added.

When it comes to addressing the appearance of melasma, both Mraz and Camp said that diligent sun protection is one of the best forms of prevention, although other topical products should also be at play.