A method of preparing a femur and tibia in surgery on a knee joint using a navigation system and a robotic system. The navigation system tracks movement of the femur and tibia during the surgery. The navigation system may include a plurality of locating devices. The robotic system includes a base, a plurality of arms, and a cutting tool.