lower back and leg pain

Crystal
Today is CD 27 and for the passed couple of days I have had really bad back and leg pains!! They hurt so much I can't sleep I've never felt this bad right before a period!!! Any idea what's happening has anyone felt this way???