What does it mean if my leg hurts behind my

Patient: What does it mean if my leg hurts behind my knee on the back of my leg all the way up to my hip. And it only hurts when I sit and continues to hurt once I stand

Symptoms: Pain in my leg behind knee up to hip

Doctor: