For temporary relief from a toothache, over-the-counter pain relievers are your best option. Ibuprofen is highly recommended because it is an anti-inflammatory, which directly targets dental swelling. If you cannot take NSAIDs, Acetaminophen is a safe alternative. You can also rinse your mouth with warm salt water to help clean the area and soothe discomfort. Please note that these medications only temporarily mask the symptoms. A toothache usually signals an underlying issue like a cavity or infection, so it is crucial to see a dentist as soon as possible for a definitive diagnosis.