Short answer: probably no. After a dental treatment, only over-the-counter painkillers are recommended in case of pain. The most commons are Ibuprofen and acetaminophen and if necessary a combination of the two can be considered.
After an extraction or a root canal therapy, pain lasts normally a couple of days but can continue for longer time (usually up to 14 days after the treatment)
Most guidelines recommend against using antibiotics for most pulpal and periapical conditions and instead recommend only the use of dental treatment and, if needed, over-the-counter pain relievers such as acetaminophen and ibuprofen.