Thanks for the query.
Pigmentation of skin can be seen in various condition.
pills can also be one of the cause.
There are various modalities to treat this.
The most common is depigmenting agent.
Even LASERS can be used to some extent.
Let me know if you have any other doubt.
you can ask a direct question to me on this forum, following the below link.
If the lesions persist, please meet a dermatologist
for final diagnosis