Hi mam....
It is not clear that the last tooth is wisdom tooth(3rd molar) or the 2 nd molar teeth...
If it is 3 rd molar(wisdom teeth) you can go for extraction
If it is 2 nd molar you have to go for Root canal treatment followed by capping of the root canala treated teeth...
As the pain in the teeth indicates the cavity reaches nerve layer(pulp) ,Anyway x_ray(IOPA) should be done to confirm the extent of the cavity...
For pain relef Tab .Flexon 1_1_1 x 3 days
Tab Rantac 150 mg 1_1_1 x 3 days
Tab Flagyl 400mg 1_1_1 × 3 days
Cap.Novaclax LB 1_0_1× 3 days
Next Steps
kindly visit nearby dentist for furthur consultation and management
Health Tips
Medication is a temporary relief....you have to do treatemwnt of the involved teeth otherwise pain will be recurrent