Yes, it can definitely be cured. However, such pain or sensitivity can be due to multiple causes. And hence, it is important to first determine the cause. For your description, it most likely appears to be a decay that has now reached the innermost chamber of the tooth where the nerves are, or is very close to it. Based on the depth of the cavity, a suitable treatment plan can be suggested. The common likely options could be a Filling, Pulp Capping or RCT.
Next Steps
Visit a Dentist