Ectopic or miscarriage?

L

I had a miscarriage in October and we conceived without a cycle in between.. I'm currently around 4 weeks 4 days. I'm having pain all through my right leg, like muscle aches... it seems to start in my lower hip. Has anyone experienced this and went on to find out it was an ectopic pregnancy or have a miscarriage?