The back of my knee hurts when I try to stand straight?

Pain back of knee. . A few things this could be. In the absence of clinical context and physical exam. Could be a pulled muscle, such as the hamstring. Tendon or ligament issue. Popliteal cyst. If his has been going on for a while, a visit to the doctor would be a good idea. .