could some pls explain why the side of my left leg hurts when I lay down and hurts more when i move that leg. even just a little. why is that?

i didnt do anything to hurt my leg. atleast i dont think i have