There are many possible causes for lip pigmentation. Theses include post inflammatory hyperpigmentation, contact dermatitis and inflammatory skin conditions.
It is best for you to see a doctor so that a proper history and examination can be done for a more accurate diagnosis. In some cases, a skin biopsy may be needed to confirm the diagnosis.