Antibiotics are commonly prescribed by dentists to treat and prevent infections. The most common antibiotics prescribed are penicillin, erythromycin, and tetracyclines. Penicillin is often the first line treatment and works by inhibiting bacterial cell wall formation. While antibiotics are generally safe and effective, overuse has led to increasing antibiotic resistance, so they should only be used for indicated infections. Dentists carefully consider risks and benefits when determining whether antibiotics are appropriate for a patient's specific condition.