Treatment depends on the type, extent, location, and stage of the liver cancer, as well as the patient's overall health.