A RealAge answered. A dentist may prescribe antibiotics before a root canal procedure to improve the chances of a successful outcome. Antibiotics are usually continued after the procedure as well. The dentist may also recommend the use of a nonsteroidal anti-inflammatory medicine like ibuprofen or naproxen (available over the counter), or oxaprozin or ketoralac (prescription only) after the procedure. This can reduce inflammation and improve healing.