If you just twisted your knee during tennis and cannot continue then i would ice the knee, wrap it and elevate it.
If the pain passes quickly and you can run, plant and pivot to hit balls then yes by all means stretch a little first. Do not continue if there is any lingering pain because you might cause further injury. Ice and elevate for any swelling, should resolve my morning. See dr if persist.