The presence of infection also causes a foul smell in your mouth. Metronidazole is an antibiotic that is used in infection. So you should visit a dentist and get the dental treatment done. Medicines will help you temporarily so treatment is necessary to solve the dental issue.