There are a few things you can do to relieve pain from a toothache. You can take over-the-counter pain medication like ibuprofen or acetaminophen. You can also rinse your mouth with warm salt water or apply a cold compress to the outside of your cheek. If the pain is severe, you may need to see a dentist for treatment.