If you don't mind taking ibuprofen, take 800mg (4 standard tablets) every 8 hours. It reduces inflammation and will ultimately help with pain.
Oil pulling. Swish about a tablespoon of vegetable oil (untoasted sesame is ideal)in your mouth for as long as you can - at least ten minutes. Suck it through your teeth back and forth and spit it out when you're done - it should be white and foamy when you spit it out. This is good to do without dental pain as it apparently pulls bacteria out of gums as well as out of teeth with broken fillings etc. Rinse your mouth with very warm water and spit that out as well.
Now swish very strong sodium bicarb solution in warm water (about 2T/cup), one mouthful at a time until the solution is gone. With that solution also, keep it in your mouth swishing for as long as you can.
This should give you enough relief to sleep and wait for a dental appointment.