Depends on direction
This depends on the direction of fracture
If the fracture is horizontal, the knee has to be immobilized to prevent possible displacement of the fracture and disruption of the knee extensor mechanism. If the fracture is vertical, you don't have to do much. Just don't do anything that causes pain in the knee and try to prevent any further trauma for about 2-3 months.