Make sure your knees are wrapped and supported when exercising and don't use an excessive amount of weight when lifting. Also, use partial ranges of motion; for example with squats, don't go as deep. This puts less strain on your knees but still works your quads.