Hello there ,
Thanks for writing your query,
Pain and swelling in gums adjacent to the filled tooth indicated the spread of infection from the infected tooth to the surrounding area.
pain in gums adjacent to an already filled tooth indicates the presence of infection below the filling .
It indicates bacterial decay or infection in the tooth that involves the exposed tooth nerve
you need to get an x ray
done the affected area to confirm the presence of infection, approach a dentist
for the treatment.
such infected tooth needs to be treated by a root canal
procedure so please consider getting the treatment done by consulting a dentist.
i hope this helps ,