you need to check with the dentist who has done the treatment. there are few possibilities for pain like the crown which is fixed its high. chances of missed canal. infection development at root, very rare chances of fracture tooth. so to check he reason you need to visit dentist for evaluation and x-ray.