The present invention is directed to use of heat shock protein inhibitor in preparing pharmaceutical composition for treating hepatitis by scavenging hepatitis B-infected cells. The heat shock protein inhibitor may include VER-155008, Pifithrin-µ or pharmaceutical salts thereof. The present invention is also directed to use of heat shock protein inhibitor in preparing pharmaceutical composition for treating hepatoma.一種熱休克蛋白抑制劑用於製備治療或控制B型肝炎之醫藥組合物的用途,其係藉由清除被B型肝炎病毒感染的細胞,其中熱休克蛋白抑制劑包含VER-155008、皮斐松-µ(Pifithrin-µ)或其醫藥上可接受之鹽類。此外本發明亦提供熱休克蛋白抑制劑用於製備治療肝癌之醫藥組合物的用途。