The only probable connection between your ejaculation and knee pains might be that the strong muscular contractions of ejaculation can cause some musculoskeletal pains. There is NO other connection. They are totally separate and unconnected bodily systems. Please consult a sports medicine / orthopaedic specialist for further help on the knee.