Thanks for the query,
You might have developed a sebaceous cyst
It is a cyst with collection of debris inside,
There is no medical management of this.
If you want permanent cure it must be removed surgically.
Please meet a dermatologist
for exact diagnosis.
Let me know if you have any other doubt.
you can ask a direct question to me on this forum, following the below link.