Hi thanks for your question.
Your wound after the removal of mole has got infected leading to puss formation.The infection is giving you pain.No this is not due to dettol
.Consult your Doctor who has removed the mole he will prescribe you antibiotics for infection and analgesic
anti inflammatory drugs for pain.
Hope this answers your question.