My mouth is hurting after a filling. What should I do for pain?

Likely aspirin, etc. Probably the best thing for now is simple pain meds, like aspirin, tylenol, (acetaminophen) od advil. If this persists, you might have to go back to your dentist and/or see your doctor to make sure it is not something worse.