Welcome to just answer.
I am sorry to hear about your pain and discomfort.
A very effective way to control dental pain using the Over The Counter Medications is to switch between taking 400 milligrams of Ibuprofen ( 2 tablets of Advil) and 1000 milligrams of acetaminophen (Tylenol) after every 4 hours. Read more about Tylenol here:
You can also apply 'toothache drops' available at any pharmacy nearby you.
Application of Clove Oil to the aching tooth is best to reduce pain.Clove oil contains eugenol which is very soothing to exposed tooth. Place a drop or two on cotton pellet and place it on the tooth (cavity/decay)
Ice pack can help in providing relief.
Other than all this,visit your dentist as early as possible and get the tooth properly evaluated and filled by conservative means.
I hope this answers your questions. Feel free to contact me again if you have doubts and we can discuss it again.
I wish you a speedy recovery!