Get some chewable baby asprin and hold it in your mouth with your tounge or your cheek and effected tooth and the pain just melts away.
Another one that you can use is if you have a bottle of whiskey in the house, put some on your finger and rub over the gums that are hurting to take the pain away.