2 possibilities...most likely you will need a root canal. Did you have large cavity or filling on that tooth? Did you have a history of trauma or fall? Did you have a history of braces? The other may be gum disease.
A dentist will need to see an x-ray of the tooth to determine the root canal anatomy, bone level, and sound tooth structure. Depending on the predictability of success, a dentist will tell you options such as root canal, root canal and crown or tooth extraction.
A rare possibility is viral like herpes which does not respond to antibiotics or canker sore which is the body's autoimmune response. Other more rare possibilities are lesions resulting from medications, tumors or cysts.