Sounds as if you need to back off riding until your knees are better.
General rule of thumb for proper seat height is that your leg should be just a little bit bent when your pedal/foot is at the 6 o'clock position (all the way down). If you place your heel on the pedal at that position, then your leg should be about straight.
__________________
Bacchetta Giro A20, RANS V-Rex, RANS Screamer