If this is an unusual happening, as mentioned by you, it needs to be evaluated. Generally speaking such a sudden onset is characteristic of some infection.
Next Steps
Consult a senior dental practitioner and get yourself thoroughly evaluated
Health Tips
Drink a lot of water, cold water may be helpful in alleviating the pain until a definitive diagnosis is reached.