Antibiotics are only effective to treat infection if the source is eliminated, e.
g. Necrotic pulpal tissue removed. The medication is potent only in areas it can access but impossible to reach the tooth chamber where blood can't even flow due to dead tissue.
It will alleviate the symptoms but a cycle of reinfection will occur if the cause won't be managed. Please see your dentist asap.