Severe leg pain

Mommyof2
So This is my 2nd pregnancy, I'm roughly 5 weeks? I'll know more at my first ultrasound on Thursday but for the pat 2 days I've been experiencing horrible pain in my thigh area that hurts more then I bend forward or put too much weight on it. It was only in my left leg at first and now it's in my right as well. My BF thinks it's just a pinched nerve but idk. I went to the ER and they did ultrasound to rule out ectopic pregnancy and thankfully baby is right where he/she is supposed to be   I'm so scared bc I've never pain like this in my legs. Also I did have a c section in June 2014 so I'm also wondering if maybe that's causing my pain bc it's only been 9 months?!?! Help. Please. I hate feeling like this