Infection may be because of gums or teeth. You should consult a dentist and dentist can prescribe antibiotic for you to control the infection. However, Treatment is needed to get permanent relief from the dental issue. That can be either removal of tooth or root canal treatment.