L.R.
Why not call the dentist and ask? Any decent dentist would want to see you immediately, the same day, to be sure there isn't something lodged in your gum or between your teeth, which could feel like it was your jaw hurting, and to be sure there isn't an infection starting.
If it's lockjaw, that can be extremely serious right up to fatal. If you had a tetanus shot in the past five years you should be OK but if not, why wait for answers here if you think it could be tetanus?