U need to deceive the type of pain. Is it sharp, shock like , how long it lasts and when it starts. Then a diagnosis can be established. But according to the information provided by you, it would be a neuropathic pain
Next Steps
Get a detailed examination done by a dental specialist- oral medicine specialist or oral surgeon