Its difficult to give a diagnosis from the info provided as no image is attached. In case there are no other factors the ache might be due to transient factors (stress, bite trauma, extra oral trauma, temperature etc) and the condition is self correcting. However you need to visit your nearest dentist to have a definite diagnosis
Next Steps
visit the nearest prosthodontist for a check up
Health Tips
Dont bite on hard object from front teeth.