Pain in the tooth has reasons like caries or gum diseases. you should visit a dentist and get an x-ray done. root canal treatment can save the tooth in case of caries. if the tooth is not savable, then it should be removed and replaced with a dental prosthesis.