Medications suitable for ur case are best decided by the gynecologist under whose care u r.
Please consult him/ her before any medication is taken.
Next Steps
Get emergency root canal opening done asap.
Health Tips
Take care of all other decayed teeth if any. U don't want to end up with pain again!