If your tooth has been decayed and if u have pain it can be treated by RCT and crown. Unless,if it is decayed more than 50% of tooth structure is lost ,it should be extracted and replaced. Some times RCT and Post and core is also possible without extraction. Final diagnosis depends on x-Ray.
Next Steps
If u have x-Ray upload and we can give Better suggestion