the lump is associated with already filled tooth.
it can be due to many factors-
marginal leakage of restoration
periapical infection due to secondary carries.
the tooth has to be root canal
treated and pus has to be drained out.
take complete course of antibiotics-analgesics prescribed by your dentist
clean your mouth after every meals.
brush your teeth twice regularly.