One item that saved MY Bacon was a small bottle of Oil of Clove.
You can find it in any good health food store. Pain relievers are fine but they have side effects if you use to many.
I lost a crown prior to my trip and couldn't get into seeing the dentist before I left. I bought a do-it-yourself dental kit and made a temporary one, but it didn't hold up very well.
As part of the kit, they give you a real small bottle of liquid painkiller. The main ingredient is Clove Oil. A little Googling and I found that Clove Oil is a well known and effective natural toothache pain reliever that has no adverse side effects ( other than making your breath smell like a Easter Ham)

Using a Q-tip, you rub in into gums and hold on tooth/open area. In a few moments the nerves are numbed and your good for hours.
I take the little dental kit but another Iodine size bottle of the Clove Oil.
If you ever had a bad toothache or broken filling, you know how bad the pain can be. This is a trip saver in a bottle

Db's advice about prevention, especially when solo is right on.
I follow the Carpenter's Rule, modified for the outdoors. Measure twice, cut once. Or in our case, think before you act/step!