My knee hurts when I walk long distances or when I run, I went to physical therapy but that didn't help at all..

Knee pain. Causation can be mutifactorial , Do both knees hurt ? How long have you had this ? Do NSAIDs help? Have you recently increased the amount of walking or running ? Do u have any pain at night ? You need to seek follow up with an Orthopaedic dr.