I guess you got your tooth extracted and you are having lot of pain after that . Sometimes there is no remaining tooth piece it's a sharp edge of the bone socket in which your tooth was. And at that particular area there is lot of pain due to the exposed bone. The tablets will help you symptomatically in relieving the pain and to reduce infection and inflammation.
Next Steps
Don't worry. It will heal. In case if it pains more u have to visit a good dentist to check if there is a condition called dry socket. In that case the Dr will put a medication in the area to help you.
Health Tips
You can do warm salt water rinses thrice a day and continue taking the medication prescribed