Keep it straight
Your quad serves to make your knee go straight as you climb.
If it is injured it will hurt. We use a knee immobilzer to help with symptoms. For stairs you will want to take them one at a time leading with the good leg and keeping the sore leg straight dragging it up from behind.