A proper clinical examination will be required to evaluate the current condition of the tooth. An x-ray might also be recommended by your dentist. Depending upon the condition of the tooth, you might require root canal treatment (if the tooth is restorable) and in the worst case you might require extraction of the tooth (if it is non restorable). The best opinion can be given by the dentist who performs the clinical examination. The appropriate treatment options can be explained to you after that.
Regards.
Next Steps
please do not delay the treatment because the symptoms will have a tendency to aggravate further.