Why does it hurt in my knee when I stand and twisted my leg to right or left?

See Orthopaedic. You may have a tear of the meniscus, or wear of the cartilage covering the bone which would indicate arthritis. You need to be examined to determine the cause of you pain.
Meniscus . This could potentially be a meniscus tear or arthritis. Seek an orthopedic surgeon.