Antibiotics are often prescribed to treat bacterial infections. When it comes to toothaches, however, an antibiotic prescription should be avoided unless absolutely necessary. By understanding antibiotics, you can talk confidently with your dentist about what’s causing you pain and how to fix it.