Therapeutic vaccines work by enhancing the immune response against already established infections or diseased cells. They often contain antigens that are specific to the pathogen or disease, which helps to activate immune cells such as T cells and B cells. This targeted activation can lead to the destruction of infected or malignant cells and the promotion of long-term immune memory.