Pain on calves and thighs when lying down

AB

Anyone ever have pain, kind of like muscle pain on your calves and back of your thighs when lying down? I have been experiencing this pain/muscle ache for couple days now but only when lying down. Not sure if this is something I should go see a doctor for .