D.B.
You were using contraception, so that's a great first step. Not all young people think ahead.
Your appendix is on your right side, so I don't know what is on the left side that is causing pain. Bleeding for 17 days is not normal, so you must call a doctor, go to a Planned Parenthood or similar real clinic (not the fake ones that don't have medical personnel), or urgent care walk-in center or, if all else fails, an ER. If your grandmother is in the medical field, she should have told you that an ectopic pregnancy is an absolute emergency and, if unattended to, can result in internal bleeding, sterility or death. You don't mess around with it. But there are other things that can cause a lot of bleeding, and you aren't looking into any of that.
What did you do the last time when you had a miscarriage? Surely you didn't just wait it out, because that is absolutely dangerous as well. A miscarriage can have retained (unexpelled) tissue that can cause an infection.
I know you don't want to think about it, but waiting around is solving nothing and may be endangering a lot more. Call another adult if you need to, but go get seen. Now.