Thanks for your query
Seems like you have developed lesions of fixed drug eruptions.
These are a type of drug allergic reactions.
The lesions in this case are initially either red or purple in color and with time they turn brownish.
Every time the offending drug is taken, the lesions tend to reappear again and they become reddish and inflammed looking again.
So most importantly, the offending agent should be stopped.
Pain killers, antibiotics and sulpha
drugs are some important drugs causing this type of skin reactions.
Treatment includes the use of topical and oral steroids
So I would advise you to visit a dermatologist
for proper assessment and treatment.
Hope it helps
Best wishes for a speedy recovery
Dr Geetika Paul