Have you recently undergone any treatment like filling/crown/ or any other?
It can be due to tmj joint also
Do you suffer night grinding of your teeth too?
Next Steps
hot fomentation/ steam to be done until you visit dentist
priority should be given and immediate dental visit should be scheduled
Health Tips
don't open wide mouth and don't eat anything hard to avoid unwanted circumstances and painful conditions