Don't wait if your toothache lasts longer than 1-2 days or the pain is severe or if you have a fever, earache, or it hurts when you open your mouth wide.
You want to figure out what's causing the problem and treat it quickly. If it's an infection, it could spread to other parts of your face and skull, possibly even to your bloodstream.