hello and welcome to hcm forum,
according to the history provided by you its not at all clear that what treatment did your dentist
perform on your tooth. But anyways i can understand that you are having symptoms due to some kind of infection, which may or may not be linked to your tooth, until clinically checked.
alone will not help in resolving the infection, therefore kindly visit your dentist, get your teeth checked thoroughly and let him/her prescribe you antibiotics and anti-inflammatory medication.
just be calm and meet your dentist soon,
i wish you good health,