I have hyperextended knees so what exercises will help hyperextended knees possibly straightening the knee?

Rest. Try to rest your knees and just do range of motion and stretching exercises and only low impact movement with knees ie walking - no running, jumping. Sometimes working with a physical therapist is often helpful too with recovery.