Thanks for your query, I have gone through your query. The vicodin is a combination of hydrocodone and paracetamol, you can take either this or ibuprofen, but not both. Because, The function of both the drugs is same. If you take both, it might result in toxicity. So you can take only one drug at a time. If you are taking ibuprofen alone, you can take 400mg three times daily for 5 days. After that you can get the tooth treated. I hope my answer will help you, take care.