Thank you for your query.
You have been very unwise in having unprotected sex and then popping I pills indiscriminately.
Please consult a gynecologist at the earliest.
might work in your case, but only under medical supervision.
About the pain, that would be my least worry right now.
have your pregnancy
confirmed, that it is intra uterine, have exact dating done.
Get the correct medicines and dosage on prescription from a gynecologist.
Take them as advised.
There are side effects like bleeding, infection and need of surgical abortion.
A follow up visit is a must to confirm that procedure is complete.
If you are scared , then best is to continue the pregnancy.