It depends on your specific case. Antibiotics may be prescribed by the dentist if there is an infection present or have a weakened immune system.